test
This commit is contained in:
parent
3e3eb2af77
commit
95f2bbc14d
@ -17,14 +17,13 @@ def sb_test_commands(bot, trigger):
|
||||
@plugin.nickname_command('command_groups')
|
||||
def sb_test_command_groups(bot, trigger):
|
||||
|
||||
msgs = []
|
||||
|
||||
for category, cmds in collections.OrderedDict(sorted(bot.command_groups.items())).items():
|
||||
bot.say(category)
|
||||
for plugin_name, cmds in collections.OrderedDict(sorted(bot.command_groups.items())).items():
|
||||
bot.say(plugin_name)
|
||||
bot.say(str(cmds))
|
||||
cmds = set(cmds) # remove duplicates
|
||||
bot.say(str(cmds))
|
||||
cmds = ' '.join(cmds)
|
||||
msg = category + ' ' + cmds
|
||||
msgs.append(msg)
|
||||
bot.say(str(cmds))
|
||||
|
||||
# sb.osd(msgs, trigger.sender)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user