[commands] Prepend mention prefixes in commands.when_mentioned_or
This commit is contained in:
parent
15ca9294e1
commit
b9ef80b0d0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user