Skip to content

Commit

Permalink
✨ 修改默认 indents
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Sep 22, 2023
1 parent 301bbf4 commit c289279
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions nonebot/adapters/discord/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@

class Intents(BaseModel):
guilds: bool = True
guild_members: bool = True
guild_members: bool = False
guild_moderation: bool = True
guild_emojis_and_stickers: bool = True
guild_integrations: bool = False
guild_webhooks: bool = False
guild_integrations: bool = True
guild_webhooks: bool = True
guild_invites: bool = True
guild_voice_states: bool = False
guild_presences: bool = True
guild_voice_states: bool = True
guild_presences: bool = False
guild_messages: bool = True
guild_message_reactions: bool = True
guild_message_typing: bool = True
direct_messages: bool = True
direct_message_reactions: bool = True
direct_message_typing: bool = True
message_content: bool = True
guild_scheduled_events: bool = False
auto_moderation_configuration: bool = False
auto_moderation_execution: bool = False
message_content: bool = False
guild_scheduled_events: bool = True
auto_moderation_configuration: bool = True
auto_moderation_execution: bool = True

def to_int(self):
return (
Expand Down

0 comments on commit c289279

Please sign in to comment.