From f019663dc1230a82e828c783014f20c173fa0665 Mon Sep 17 00:00:00 2001 From: Mantou Date: Mon, 22 Jul 2024 15:40:07 +0800 Subject: [PATCH] fix: defines overlapping slots. --- disnake/emoji.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disnake/emoji.py b/disnake/emoji.py index 31123309a4..9dc4a2255a 100644 --- a/disnake/emoji.py +++ b/disnake/emoji.py @@ -193,7 +193,7 @@ class GuildEmoji(BaseEmoji): having the :attr:`~Permissions.manage_guild_expressions` permission. """ - __slots__: Tuple[str, ...] = BaseEmoji.__slots__ + ("guild_id",) + __slots__: Tuple[str, ...] = ("guild_id",) def __init__( self, *, guild: Union[Guild, GuildPreview], state: ConnectionState, data: EmojiPayload @@ -363,7 +363,7 @@ class ApplicationEmoji(BaseEmoji): The user that created the emoji. """ - __slots__: Tuple[str, ...] = BaseEmoji.__slots__ + ("application_id",) + __slots__: Tuple[str, ...] = ("application_id",) def __init__(self, *, application_id: int, state: ConnectionState, data: EmojiPayload) -> None: self.application_id: int = application_id