Add minerbot help command

This commit is contained in:
minerobber 2019-01-28 22:25:11 +00:00
parent f5bfb09b97
commit f3220bee21
1 changed files with 4 additions and 0 deletions

View File

@ -17,3 +17,7 @@ def rollcall(bot,channel,nick,*args):
@plugin.command("minerbotsrc")
def minerbotsrc(bot,channel,nick,*args):
bot.say(channel,nick+": https://tildegit.org/khuxkm/minerbot-phoenix")
@plugin.command("minerbothelp")
def help(bot,channel,nick,*args):
bot.say(channel,nick+": currently loaded commands: {}".format(", ".join("!"+cmd for cmd in plugin.cmds.keys())))