diff options
-rw-r--r-- | arthur/bot.py | 2 | ||||
-rw-r--r-- | arthur/config.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arthur/bot.py b/arthur/bot.py index 9b6d56e..2bbb69c 100644 --- a/arthur/bot.py +++ b/arthur/bot.py @@ -17,7 +17,7 @@ class KingArthur(Bot): def __init__(self, *args: list[Any], **kwargs: dict[str, Any]) -> None: config = { - "command_prefix": commands.when_mentioned_or(CONFIG.prefix), + "command_prefix": commands.when_mentioned_or(*CONFIG.prefixes), "case_insensitive": True, } diff --git a/arthur/config.py b/arthur/config.py index 03eab03..78131d4 100644 --- a/arthur/config.py +++ b/arthur/config.py @@ -9,7 +9,7 @@ class Config(BaseSettings): token: str # Discord bot prefix - prefix: str = "arthur " + prefixes: list[str] = ["arthur ", "M-x"] # Authorised role ID for usage devops_role: int = 409416496733880320 |