From 7ae9daa98dd8cc308ea30b1522400e883fcf8d2a Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 6 May 2022 09:15:21 -0400 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/SBCore/commands/__init__.py | 5 +++++ sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index 7d9cf5f..ab603ae 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -29,6 +29,11 @@ class Commands(): # TODO config return "|" + @property + def query_command_key(self): + # TODO config + return "|" + @property def valid_sopel_commands(self): found = [] diff --git a/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py b/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py index 7a3324b..016eedd 100644 --- a/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py @@ -7,16 +7,16 @@ from sopel_SpiceBot_Core_Prerun import prerun @prerun() @plugin.command('(.*)') def rule_command(bot, trigger, comrun): - bot.say("%s" % trigger.raw) + return @prerun() @plugin.nickname_command('(.*)') def rule_nickname_command(bot, trigger, comrun): - bot.say("%s" % trigger.raw) + return @prerun() @plugin.action_command('(.*)') def rule_action_command(bot, trigger, comrun): - bot.say("%s" % trigger.raw) + return