Introduced prefer_emojis for PycordGuild
This commit is contained in:
@@ -26,6 +26,7 @@ class PycordGuild:
|
||||
channel_id: int | None
|
||||
category_id: int | None
|
||||
timezone: str
|
||||
prefer_emojis: bool
|
||||
|
||||
@classmethod
|
||||
async def from_id(
|
||||
@@ -145,6 +146,7 @@ class PycordGuild:
|
||||
"channel_id": self.channel_id,
|
||||
"category_id": self.category_id,
|
||||
"timezone": self.timezone,
|
||||
"prefer_emojis": self.prefer_emojis,
|
||||
}
|
||||
|
||||
# TODO Add documentation
|
||||
@@ -155,6 +157,7 @@ class PycordGuild:
|
||||
"channel_id": None,
|
||||
"category_id": None,
|
||||
"timezone": "UTC",
|
||||
"prefer_emojis": False,
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user