This commit is contained in:
deathbybandaid 2022-02-12 11:35:30 -05:00
parent 194ddbc8c4
commit 0c1abc4bb4

View File

@ -15,3 +15,33 @@ def sb_test_commands(bot, trigger):
bot.say("%s" % sb.versions.dict) bot.say("%s" % sb.versions.dict)
sb.osd("test", trigger.sender) sb.osd("test", trigger.sender)
@prerun_nickname_command()
@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:
bot.say(str(y))
@prerun_nickname_command()
@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))