diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index d5cfc0c..71172ff 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -20,7 +20,7 @@ class Commands(): def sopel_action_commands(self): return self.bot.rules.get_all_action_commands() - def dispatch(self, bot, trigger, message): + def dispatch_command(self, bot, trigger, message): pretrigger = PreTrigger( bot.nick, ":%s %s %s :%s" % (trigger.hostmask, "PRIVMSG", trigger.sender, message) diff --git a/sopel_SpiceBot_Runtime_Action_Commands/__init__.py b/sopel_SpiceBot_Runtime_Action_Commands/__init__.py index dae4d3d..ca9101f 100644 --- a/sopel_SpiceBot_Runtime_Action_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Action_Commands/__init__.py @@ -10,8 +10,4 @@ from sopel_SpiceBot_Core_Prerun import prerun_action_command @prerun_action_command() @plugin.action_command('test') def sb_test_commands(bot, trigger): - bot.say("Testing the bot") - bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")]) - bot.say("%s" % sb.versions.dict) - - sb.osd("test", trigger.sender) + bot.say("test c: %s" % trigger.raw) diff --git a/sopel_SpiceBot_Runtime_Commands/__init__.py b/sopel_SpiceBot_Runtime_Commands/__init__.py index 13f5f89..d95a225 100644 --- a/sopel_SpiceBot_Runtime_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Commands/__init__.py @@ -32,4 +32,4 @@ def commands_test_c(bot, trigger): bot.say("test c: %s" % trigger.raw) - sb.commands.dispatch(bot, trigger, ".testa") + sb.commands.dispatch_command(bot, trigger, ".testa") diff --git a/sopel_SpiceBot_Runtime_Nickname_Commands/__init__.py b/sopel_SpiceBot_Runtime_Nickname_Commands/__init__.py index 29b6d68..49ee37e 100644 --- a/sopel_SpiceBot_Runtime_Nickname_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Nickname_Commands/__init__.py @@ -10,11 +10,7 @@ from sopel_SpiceBot_Core_Prerun import prerun_nickname_command @prerun_nickname_command() @plugin.nickname_command('test') def sb_test_commands(bot, trigger): - bot.say("Testing the bot") - bot.say("Attributes: %s" % [x for x in dir(sb) if not x.startswith("__")]) - bot.say("%s" % sb.versions.dict) - - sb.osd("test", trigger.sender) + bot.say("test c: %s" % trigger.raw) @prerun_nickname_command()