This commit is contained in:
deathbybandaid 2022-02-12 15:35:02 -05:00
parent f0878dd3c6
commit f58d80a9c6

View File

@ -28,7 +28,13 @@ def sb_test_command_groups(bot, trigger):
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)