bot: main: fix commands not being processed

Signed-off-by: Max R. Carrara <max@aequito.sh>
This commit is contained in:
Max R. Carrara 2025-03-14 00:11:41 +01:00
parent 18f057793e
commit 8ffe964386

View file

@ -142,6 +142,7 @@ def register_event_handlers(bot: commands.Bot):
@bot.event
async def on_message(message: discord.Message):
_log.debug(f"Read message ({message.id = }): {message.content}")
await bot.process_commands(message)
@bot.event
async def on_command(ctx: commands.Context):