identify check

This commit is contained in:
deathbybandaid 2019-09-18 14:16:12 -04:00
parent 70fcf7d1f4
commit 977b9aa41f

View File

@ -295,11 +295,9 @@ def trigger_runstatus_query(bot, trigger, botcom):
# registered nick, but not identified
else:
message = "None"
# if str(trigger.nick).lower() not in [x.lower() for x 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."
# return trigger_cant_run(bot, trigger, botcom, message)
# TODO
if str(trigger.nick).lower() not in [x.lower() for x 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."
return trigger_cant_run(bot, trigger, botcom, message)
# don't run commands that are disabled in channels
if not trigger.is_privmsg:
@ -362,11 +360,9 @@ def trigger_runstatus(bot, trigger, botcom):
# registered nick, but not identified
else:
message = "None"
# if str(trigger.nick).lower() not in [x.lower() for x 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."
# return trigger_cant_run(bot, trigger, botcom, message)
# TODO
if str(trigger.nick).lower() not in [x.lower() for x 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."
return trigger_cant_run(bot, trigger, botcom, message)
# if botcom.dict["hyphen_arg"]:
# return False