mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
nick_id
This commit is contained in:
parent
7201d04871
commit
7324c63c60
@ -295,7 +295,8 @@ def trigger_runstatus_query(bot, trigger, botcom):
|
|||||||
|
|
||||||
# registered nick, but not identified
|
# registered nick, but not identified
|
||||||
else:
|
else:
|
||||||
if str(trigger.nick).lower() not in [x.lower() for x in botusers.dict["identified"]]:
|
nick_id = botusers.whois_ident(trigger.nick)
|
||||||
|
if nick_id not in botusers.dict["identified"]:
|
||||||
message = "Your nickname appears to be registered with IRC services. However, you have not identified. Identifying may take a few minutes to process with the bot."
|
message = "Your nickname appears to be registered with IRC services. However, you have not identified. Identifying may take a few minutes to process with the bot."
|
||||||
return trigger_cant_run(bot, trigger, botcom, message)
|
return trigger_cant_run(bot, trigger, botcom, message)
|
||||||
|
|
||||||
@ -360,7 +361,8 @@ def trigger_runstatus(bot, trigger, botcom):
|
|||||||
|
|
||||||
# registered nick, but not identified
|
# registered nick, but not identified
|
||||||
else:
|
else:
|
||||||
if str(trigger.nick).lower() not in [x.lower() for x in botusers.dict["identified"]]:
|
nick_id = botusers.whois_ident(trigger.nick)
|
||||||
|
if nick_id not in botusers.dict["identified"]:
|
||||||
message = "Your nickname appears to be registered with IRC services. However, you have not identified. Identifying may take a few minutes to process with the bot."
|
message = "Your nickname appears to be registered with IRC services. However, you have not identified. Identifying may take a few minutes to process with the bot."
|
||||||
return trigger_cant_run(bot, trigger, botcom, message)
|
return trigger_cant_run(bot, trigger, botcom, message)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user