mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-22 10:56:44 +00:00
Fix overlapping or incorrect slots found by slotscheck
This commit is contained in:
parent
7e3b08871b
commit
40986f9279
@ -196,7 +196,6 @@ class Activity(BaseActivity):
|
|||||||
__slots__ = (
|
__slots__ = (
|
||||||
'state',
|
'state',
|
||||||
'details',
|
'details',
|
||||||
'_created_at',
|
|
||||||
'timestamps',
|
'timestamps',
|
||||||
'assets',
|
'assets',
|
||||||
'party',
|
'party',
|
||||||
|
@ -58,6 +58,7 @@ MISSING = utils.MISSING
|
|||||||
|
|
||||||
|
|
||||||
class AssetMixin:
|
class AssetMixin:
|
||||||
|
__slots__ = ()
|
||||||
url: str
|
url: str
|
||||||
_state: Optional[Any]
|
_state: Optional[Any]
|
||||||
|
|
||||||
|
@ -1405,7 +1405,6 @@ class Message(PartialMessage, Hashable):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__slots__ = (
|
__slots__ = (
|
||||||
'_state',
|
|
||||||
'_edited_timestamp',
|
'_edited_timestamp',
|
||||||
'_cs_channel_mentions',
|
'_cs_channel_mentions',
|
||||||
'_cs_raw_mentions',
|
'_cs_raw_mentions',
|
||||||
@ -1415,7 +1414,6 @@ class Message(PartialMessage, Hashable):
|
|||||||
'_cs_system_content',
|
'_cs_system_content',
|
||||||
'tts',
|
'tts',
|
||||||
'content',
|
'content',
|
||||||
'channel',
|
|
||||||
'webhook_id',
|
'webhook_id',
|
||||||
'mention_everyone',
|
'mention_everyone',
|
||||||
'embeds',
|
'embeds',
|
||||||
|
@ -152,13 +152,9 @@ class WidgetMember(BaseUser):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
__slots__ = (
|
__slots__ = (
|
||||||
'name',
|
|
||||||
'status',
|
'status',
|
||||||
'nick',
|
'nick',
|
||||||
'avatar',
|
'avatar',
|
||||||
'discriminator',
|
|
||||||
'id',
|
|
||||||
'bot',
|
|
||||||
'activity',
|
'activity',
|
||||||
'deafened',
|
'deafened',
|
||||||
'suppress',
|
'suppress',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user