def getStreamer(bot, nick, msg): if bot.streamer[0]=="No one": bot.say("No one is streaming or the current streamer has not yet been set :(") else: bot.say(bot.streamer[1]) getStreamer.commands=["^!streamer$"] getStreamer.usage=("streamer", "!streamer - returns a blurb about the current streamer") def help(bot, nick, msg): args=msg.split() try: bot.say(bot.help[args[1]]) except Exception as e: bot.say("no such command") help.commands=["^!help [A-Za-z0-9]+$"] help.usage=("help", "!help commandName - describes the usage for the specified command") def commands(bot, nick, msg): bot.say("commands available include: "+str(bot.command_list)) commands.commands =["^!commands$"] commands.usage =("commands", "!commands -lists all commands available to regular chat users")