@lib.hook(needchan=False)
@lib.help(None, "provides command list")
+@lib.argsEQ(0)
def showcommands(bot, user, chan, realtarget, *args):
+ if bot.parent.cfg.getboolean('erebus', 'nofakelag'):
+ return help_nolag(bot, user, chan, realtarget, *args)
if bot.parent.cfg.getboolean('help', 'autogen'):
try:
- _genhelp(bot, user, chan, realtarget, *args)
+ _genhelp(bot, user, chan, realtarget)
except: pass
url = bot.parent.cfg.get('help', 'url', default=None)