Introduced prefer_emojis for PycordGuild

This commit is contained in:
2025-05-03 00:55:13 +02:00
parent aa2f90e1c5
commit 2d9bf1cfb9
4 changed files with 32 additions and 5 deletions

View File

@@ -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