79432374

Date: 2025-02-12 08:31:43
Score: 0.5
Natty:
Report link

Modify your on_message function to include await bot.process_commands(message):

Explanation: on_message Overrides Default Command Handling:

When you define on_message, it completely replaces the bot’s default event handling for messages. This means the bot no longer processes commands unless you explicitly tell it to. await bot.process_commands(message)

This ensures that any commands (!hi in your case) are still processed after handling on_message.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: KasraFnp