Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP and email scoring bot #1

Open
wants to merge 11 commits into
base: 7.0.x
Choose a base branch
from
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Ammon Smith <[email protected]>
  • Loading branch information
Kufat and Ammon Smith authored Jan 31, 2021
commit d159ee5ac5203eef48616bab77d18e66664119cc
3 changes: 1 addition & 2 deletions sopel/modules/emailcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def check_email(bot, email, nick):
def toggle_safe(bot, trigger):
global safe_mode
safe_mode = not safe_mode
return bot.reply(f"Email check module safe mode now {'on' if safe_mode else 'off'}")
return bot.reply(f"Email check module safe mode now {'ON' if safe_mode else 'OFF'}")

# <NickServ> ExampleAccount REGISTER: ExampleNick to [email protected]
# (note the 0x02 bold chars)
Expand All @@ -311,4 +311,3 @@ def handle_ns_register(bot, trigger):
return LOGGER.debug(f'Registration of {nick} to {email} OK.')
except:
alert(f"Lookup for f{nick} with email @f{domain} failed! Keep an eye on them.")