Skip to content

Commit

Permalink
kurisu.py: add emoji intent
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenChen committed Jun 25, 2024
1 parent 9dad4da commit ddbb4fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kurisu.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,8 @@ class Kurisu(commands.Bot):
tree: 'Kuritree'

def __init__(self, command_prefix, description, commit, branch, pool):

intents = discord.Intents(guilds=True, members=True, messages=True, reactions=True, bans=True,
message_content=True, auto_moderation_execution=True)
message_content=True, auto_moderation_execution=True, emojis=True)
allowed_mentions = discord.AllowedMentions(everyone=False, roles=False)
super().__init__(
command_prefix=commands.when_mentioned_or(*command_prefix),
Expand Down

0 comments on commit ddbb4fb

Please sign in to comment.