aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/resources/tags/on-message-event.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/on-message-event.md b/bot/resources/tags/on-message-event.md
index dde1c7b3b..ae98e1495 100644
--- a/bot/resources/tags/on-message-event.md
+++ b/bot/resources/tags/on-message-event.md
@@ -3,7 +3,7 @@ embed:
title: "The `on_message` event"
---
-When defining an `on_message` event handler, prefix commands may stop working as it overrides the default behaviour of the `on_message` event.
+When registering the `on_message` event, prefix commands may stop working as it overrides the default behaviour of the `on_message` event.
Instead, use [`@bot.listen`](https://discordpy.readthedocs.io/en/stable/ext/commands/api.html#discord.ext.commands.Bot.listen) to add a listener. Listeners get added alongside the default `on_message` event, preventing an override of on_message, and allowing prefix commands to still be invoked.