From 41f4fb18c12b6da9db9fdf7703e7832eab8f24e1 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 13 May 2022 08:09:57 -0400 Subject: [PATCH] test --- sopel_SpiceBot_Runtime_query_Commands/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sopel_SpiceBot_Runtime_query_Commands/__init__.py diff --git a/sopel_SpiceBot_Runtime_query_Commands/__init__.py b/sopel_SpiceBot_Runtime_query_Commands/__init__.py new file mode 100644 index 0000000..10dbaff --- /dev/null +++ b/sopel_SpiceBot_Runtime_query_Commands/__init__.py @@ -0,0 +1,10 @@ + + +def setup(bot, trigger, comrun): + return + """ + `bot.rules.register_command(Command('name', prefix=settings_prefix, plugin="your_plugin_id", ...))` + do a for loop and register commands with the query prefix set in the configuration + + unregister built-in commands + """