Skip to content

Commit

Permalink
fix: defines overlapping slots.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mantouisyummy committed Jul 22, 2024
1 parent 1ca8f16 commit f019663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disnake/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f019663

Please sign in to comment.