This commit is contained in:
deathbybandaid 2022-02-12 10:46:12 -05:00
parent 90da146666
commit 3e157493ae

View File

@ -21,12 +21,15 @@ def sb_test_commands(bot, trigger):
@plugin.nickname_command('commands')
def sopel_commands(bot, trigger):
bot.say("testing commands")
bot.say(str(bot.rules._rules.values()))
@prerun_nickname_command()
@plugin.nickname_command('nickname_commands')
def sopel_nickname_commands(bot, trigger):
bot.say("testing nickname_commands")
for x in sb.commands.sopel_nickname_commands:
for y in x:
@ -37,6 +40,8 @@ def sopel_nickname_commands(bot, trigger):
@plugin.nickname_command('action_commands')
def sopel_action_commands(bot, trigger):
bot.say("testing action_commands")
for x in sb.commands.sopel_action_commands:
for y in x:
bot.say(str(y))