|
@@ -36,11 +36,11 @@ class DiscordBot(rollbot.Rollbot[discord.Message]):
|
|
|
return None
|
|
|
return cfg
|
|
|
|
|
|
- async def on_message(self, incoming: discord.Message):
|
|
|
- if incoming.author.bot:
|
|
|
- return await super().on_message(incoming)
|
|
|
- async with incoming.channel.typing():
|
|
|
- return await super().on_message(incoming)
|
|
|
+ # async def on_message(self, incoming: discord.Message):
|
|
|
+ # if incoming.author.bot:
|
|
|
+ # return await super().on_message(incoming)
|
|
|
+ # async with incoming.channel.typing():
|
|
|
+ # return await super().on_message(incoming)
|
|
|
|
|
|
async def on_reaction_add(self, reaction: discord.Reaction, user: discord.Member | discord.User):
|
|
|
sender_id = getattr(reaction.message.author, "id", None)
|