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