mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 10:53:10 +00:00
Add Guild.default_notifications
This commit is contained in:
@ -29,7 +29,7 @@ from enum import Enum, IntEnum
|
||||
__all__ = ['ChannelType', 'MessageType', 'VoiceRegion', 'VerificationLevel',
|
||||
'ContentFilter', 'Status', 'DefaultAvatar', 'RelationshipType',
|
||||
'AuditLogAction', 'AuditLogActionCategory', 'UserFlags',
|
||||
'ActivityType', 'HypeSquadHouse']
|
||||
'ActivityType', 'HypeSquadHouse', 'NotificationLevel']
|
||||
|
||||
class ChannelType(Enum):
|
||||
text = 0
|
||||
@ -123,6 +123,10 @@ class RelationshipType(Enum):
|
||||
incoming_request = 3
|
||||
outgoing_request = 4
|
||||
|
||||
class NotificationLevel(Enum):
|
||||
all_messages = 0
|
||||
only_mentions = 1
|
||||
|
||||
class AuditLogActionCategory(Enum):
|
||||
create = 1
|
||||
delete = 2
|
||||
|
Reference in New Issue
Block a user