[commands] Prepend mention prefixes in commands.when_mentioned_or

This commit is contained in:
zephyrkul authored and Rapptz committed 2018-08-28 23:50:57 -04:00
1 parent 15ca9294e1
commit b9ef80b0d0
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ def when_mentioned_or(*prefixes):
""" """
def inner(bot, msg): def inner(bot, msg):
r = list(prefixes) r = list(prefixes)
r.extend(when_mentioned(bot, msg)) r = when_mentioned(bot, msg) + r
return r return r
return inner return inner