bot: main: fix commands not being processed
Signed-off-by: Max R. Carrara <max@aequito.sh>
This commit is contained in:
parent
18f057793e
commit
8ffe964386
1 changed files with 1 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ def register_event_handlers(bot: commands.Bot):
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_message(message: discord.Message):
|
async def on_message(message: discord.Message):
|
||||||
_log.debug(f"Read message ({message.id = }): {message.content}")
|
_log.debug(f"Read message ({message.id = }): {message.content}")
|
||||||
|
await bot.process_commands(message)
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_command(ctx: commands.Context):
|
async def on_command(ctx: commands.Context):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue