From 4ea980cb93c427e44f4fa9ac8d4ddeda746776f7 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 18 Jan 2019 21:31:39 +0200 Subject: [PATCH] Fix typo --- maubot/handlers/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot/handlers/command.py b/maubot/handlers/command.py index 202dd77..97cbd89 100644 --- a/maubot/handlers/command.py +++ b/maubot/handlers/command.py @@ -63,7 +63,7 @@ class CommandHandler: keys = ["parent", "subcommands", "arguments", "help", "get_name", "is_command_match", "require_subcommand", "arg_fallthrough", "event_handler", "event_type", "msgtypes"] for key in keys: - key = f"__mb_${key}__" + key = f"__mb_{key}__" setattr(new_ch, key, getattr(self, key)) return new_ch