aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index c652c637..e7257bbd 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -77,7 +77,7 @@ def when_mentioned_or(*prefixes):
"""
def inner(bot, msg):
r = list(prefixes)
- r.extend(when_mentioned(bot, msg))
+ r = when_mentioned(bot, msg) + r
return r
return inner