Clarify !ping/!away/!back deprecation message
This commit is contained in:
parent
b698f2495a
commit
8fb103fbf6
@ -650,7 +650,7 @@ def pinger(cli, nick, chan, rest):
|
||||
if PING:
|
||||
var.LAST_PING = datetime.now()
|
||||
cli.msg(chan, "PING! "+" ".join(PING))
|
||||
cli.msg(chan, "\u0002Please note that the {0}away/{0}back system will soon be deprecated in favor of {0}pingif.\u0002 See \u0002{0}help pingif\u0002 for details.".format(botconfig.CMD_CHAR))
|
||||
cli.msg(chan, "\u0002Please note that {0}ping and the {0}away/{0}back system is deprecated in favor of {0}pingif and will be removed soon.\u0002 See \u0002{0}help pingif\u0002 for details.".format(botconfig.CMD_CHAR))
|
||||
|
||||
minimum = datetime.now() + timedelta(seconds=var.PING_MIN_WAIT)
|
||||
if not var.CAN_START_TIME or var.CAN_START_TIME < minimum:
|
||||
@ -778,9 +778,10 @@ def away(cli, nick, chan, rest):
|
||||
nick, _, _, cloak = parse_nick(nick)
|
||||
prefix = botconfig.CMD_CHAR
|
||||
if chan == nick:
|
||||
pm(cli, nick, "\u0002Please note that the {0}away/{0}back system will be deprecated in favor of {0}pingif.\u0002 See \u0002{0}help pingif\u0002 for details.".format(prefix))
|
||||
pm(cli, nick, "\u0002Please note that {0}ping and the {0}away/{0}back system is deprecated in favor of {0}pingif and will be removed soon.\u0002 See \u0002{0}help pingif\u0002 for details.".format(botconfig.CMD_CHAR))
|
||||
else:
|
||||
cli.notice(nick, "\u0002Please note that the {0}away/{0}back system will be deprecated in favor of {0}pingif.\u0002 See \u0002{0}help pingif\u0002 for details.".format(prefix))
|
||||
|
||||
cli.notice(nick, "\u0002Please note that {0}ping and the {0}away/{0}back system is deprecated in favor of {0}pingif and will be removed soon.\u0002 See \u0002{0}help pingif\u0002 for details.".format(botconfig.CMD_CHAR))
|
||||
if var.OPT_IN_PING:
|
||||
if not rest: # don't want to trigger on unrelated messages
|
||||
cli.notice(nick, "Please use {0}in and {0}out to opt in or out of the ping list.".format(botconfig.CMD_CHAR))
|
||||
@ -823,9 +824,9 @@ def back_from_away(cli, nick, chan, rest):
|
||||
nick, _, _, cloak = parse_nick(nick)
|
||||
prefix = botconfig.CMD_CHAR
|
||||
if chan == nick:
|
||||
pm(cli, nick, "\u0002Please note that the {0}away/{0}back system will be deprecated in favor of {0}pingif.\u0002 See \u0002{0}help pingif\u0002 for details.".format(prefix))
|
||||
pm(cli, nick, "\u0002Please note that {0}ping and the {0}away/{0}back system is deprecated in favor of {0}pingif and will be removed soon.\u0002 See \u0002{0}help pingif\u0002 for details.".format(botconfig.CMD_CHAR))
|
||||
else:
|
||||
cli.notice(nick, "\u0002Please note that the {0}away/{0}back system will be deprecated in favor of {0}pingif.\u0002 See \u0002{0}help pingif\u0002 for details.".format(prefix))
|
||||
cli.notice(nick, "\u0002Please note that {0}ping and the {0}away/{0}back system is deprecated in favor of {0}pingif and will be removed soon.\u0002 See \u0002{0}help pingif\u0002 for details.".format(botconfig.CMD_CHAR))
|
||||
if var.OPT_IN_PING:
|
||||
if not rest:
|
||||
cli.notice(nick, "Please use {0}in and {0}out to opt in or out of the ping list.".format(botconfig.CMD_CHAR))
|
||||
|
Loading…
Reference in New Issue
Block a user