From b9ef80b0d012b0aa94f89c2475de6c288781ee36 Mon Sep 17 00:00:00 2001
From: zephyrkul <zephyrkul@users.noreply.github.com>
Date: Tue, 28 Aug 2018 20:51:45 -0600
Subject: [PATCH] [commands] Prepend mention prefixes in
 commands.when_mentioned_or

---
 discord/ext/commands/bot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index c652c637c..e7257bbd4 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