From 3ad24c131883389c122099edbfc789163f272105 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 10 Feb 2022 14:04:53 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Runtime_Commands/__init__.py | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/sopel_SpiceBot_Runtime_Commands/__init__.py b/sopel_SpiceBot_Runtime_Commands/__init__.py index 9e9eb60..f277421 100644 --- a/sopel_SpiceBot_Runtime_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Commands/__init__.py @@ -9,7 +9,7 @@ from sopel_SpiceBot_Core_Prerun import prerun_nickname_command @prerun_nickname_command() @plugin.nickname_command('test') -def sb_nickname_command(bot, trigger): +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) @@ -18,7 +18,21 @@ def sb_nickname_command(bot, trigger): @prerun_nickname_command() -@plugin.nickname_command('fart') -def sb_fart_command(bot, trigger): +@plugin.nickname_command('commands') +def sopel_commands(bot, trigger): bot.say(str(sb.commands.sopel_commands)) + + +@prerun_nickname_command() +@plugin.nickname_command('nickname_commands') +def sopel_nickname_commands(bot, trigger): + + bot.say(str(sb.commands.sopel_nickname_commands)) + + +@prerun_nickname_command() +@plugin.nickname_command('actio_commands') +def sopel_action_commands(bot, trigger): + + bot.say(str(sb.commands.action_nickname_commands))