slow down help output

这个提交包含在:
Mallory Hancock 2019-09-18 09:42:45 -07:00
父节点 9797f731a7
当前提交 cbc9550f97
共有 2 个文件被更改,包括 2 次插入1 次删除

查看文件

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