Actually fix ping replies

This commit is contained in:
Vgr E. Barry 2015-11-13 14:55:02 -05:00
parent 2ac4f981b7
commit 37ce9ad17c

View File

@ -610,7 +610,7 @@ def restart_program(cli, nick, chan, rest):
@cmd("ping", pm=True) @cmd("ping", pm=True)
def pinger(cli, nick, chan, rest): def pinger(cli, nick, chan, rest):
"""Check if you or the bot is still connected.""" """Check if you or the bot is still connected."""
reply(cli, nick, chan, random.choice(messages["ping"]).format(bot_nick=nick, cmd_char=botconfig.CMD_CHAR)) reply(cli, nick, chan, random.choice(messages["ping"]).format(nick=nick, bot_nick=botconfig.NICK, cmd_char=botconfig.CMD_CHAR))
@cmd("simple", raw_nick=True, pm=True) @cmd("simple", raw_nick=True, pm=True)
def mark_simple_notify(cli, nick, chan, rest): def mark_simple_notify(cli, nick, chan, rest):