slow down help output

pull/74/head
Mallory Hancock 2019-09-18 09:42:45 -07:00
parent 9797f731a7
commit cbc9550f97
2 changed files with 2 additions and 1 deletions

View File

@ -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):

View File

@ -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):