diff options
| author | Rapptz <[email protected]> | 2019-04-20 17:20:58 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-20 17:20:58 -0400 |
| commit | 919dbcafb33eb4e2bb595d7e607f525cf2d02178 (patch) | |
| tree | 206ca4b5430c72854cc818c55d82ce8a641ff9ee /discord/enums.py | |
| parent | [commands] Clean docstrings in Command.parents and Command.root_parent (diff) | |
| download | discord.py-919dbcafb33eb4e2bb595d7e607f525cf2d02178.tar.xz discord.py-919dbcafb33eb4e2bb595d7e607f525cf2d02178.zip | |
Consistent use of __all__ to prevent merge conflicts.
Diffstat (limited to 'discord/enums.py')
| -rw-r--r-- | discord/enums.py | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/discord/enums.py b/discord/enums.py index 4c59dbf9..177f88ca 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -26,11 +26,27 @@ DEALINGS IN THE SOFTWARE. from enum import Enum -__all__ = ['ChannelType', 'MessageType', 'VoiceRegion', 'SpeakingState', - 'VerificationLevel', 'ContentFilter', 'Status', 'DefaultAvatar', - 'RelationshipType', 'AuditLogAction', 'AuditLogActionCategory', - 'UserFlags', 'ActivityType', 'HypeSquadHouse', 'NotificationLevel', - 'PremiumType', 'UserContentFilter', 'FriendFlags', 'Theme'] +__all__ = ( + 'ChannelType', + 'MessageType', + 'VoiceRegion', + 'SpeakingState', + 'VerificationLevel', + 'ContentFilter', + 'Status', + 'DefaultAvatar', + 'RelationshipType', + 'AuditLogAction', + 'AuditLogActionCategory', + 'UserFlags', + 'ActivityType', + 'HypeSquadHouse', + 'NotificationLevel', + 'PremiumType', + 'UserContentFilter', + 'FriendFlags', + 'Theme', +) def fast_lookup(cls): # NOTE: implies hashable |