diff options
author | 2021-07-18 13:19:11 +0100 | |
---|---|---|
committer | 2021-07-18 13:19:11 +0100 | |
commit | 2866b06e1adb515b80d4a973146ad331670c9652 (patch) | |
tree | ad8ef8e3b6a571111a8e32bd441d259de048ab66 /arthur/bot.py | |
parent | fix: import sorting (diff) |
feat: add when mentioned to prefix list
Diffstat (limited to 'arthur/bot.py')
-rw-r--r-- | arthur/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/bot.py b/arthur/bot.py index a14812a..c7686cc 100644 --- a/arthur/bot.py +++ b/arthur/bot.py @@ -16,7 +16,7 @@ class KingArthur(Bot): """Base bot class for King Arthur.""" def __init__(self, *args: list[Any], **kwargs: dict[str, Any]) -> None: - config = {"command_prefix": CONFIG.prefix, "case_insensitive": True} + config = {"command_prefix": commands.when_mentioned_or(CONFIG.prefix), "case_insensitive": True} kwargs.update(config) |