test
This commit is contained in:
parent
f0878dd3c6
commit
f58d80a9c6
@ -28,7 +28,13 @@ def sb_test_command_groups(bot, trigger):
|
|||||||
for command in commands.values()
|
for command in commands.values()
|
||||||
)
|
)
|
||||||
|
|
||||||
bot.say(str(commands))
|
realcommands = dict(
|
||||||
|
(name, (doc.splitlines(), [u['text'] for u in usages]))
|
||||||
|
for command, doc, usages in commands
|
||||||
|
for name in ((command.name,) + command.aliases)
|
||||||
|
)
|
||||||
|
|
||||||
|
bot.say(str(realcommands))
|
||||||
|
|
||||||
# sb.osd(msgs, trigger.sender)
|
# sb.osd(msgs, trigger.sender)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user