From 02f926a95d4a041f8e9689eef7ec6cb4bf4053eb Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 21 Feb 2022 03:11:54 +0000 Subject: Add M-x to prefixes (#14) --- arthur/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arthur/bot.py') 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, } -- cgit v1.2.3