slow down help output
parent
9797f731a7
commit
cbc9550f97
|
@ -147,6 +147,8 @@ class Bot(irc.bot.SingleServerIRCBot):
|
|||
helpout = OrderedDict(sorted(cmds.items()))
|
||||
for h in helpout:
|
||||
self.connection.privmsg(nick, '{} -- {}'.format(h, helpout[h]))
|
||||
time.sleep(.5)
|
||||
self.connection.privmsg(nick, 'List of listeners: {}'.format(', '.join([l for l in plugin.lstnrs])))
|
||||
return None
|
||||
|
||||
def call_internal_commands(self, channel, nick, cmd, text, arg, c):
|
||||
|
|
|
@ -89,7 +89,6 @@ def _add_command(command, help_text, func):
|
|||
Command(command, help_text=help_text, run=func).add_command()
|
||||
else:
|
||||
cmds[command].update_plugin(help_text=help_text, run=func)
|
||||
print(cmds)
|
||||
|
||||
|
||||
def _ops_plugin(command, ops_msg, func):
|
||||
|
|
Loading…
Reference in New Issue