From 9871e08cf42072cd4f5ec4baa585ad3763dc7ce0 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 28 May 2023 15:02:13 -0400 Subject: [PATCH] Forgot to use fstrings on nickserv email (fixed) --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index eeedb94..418838b 100644 --- a/ircp.py +++ b/ircp.py @@ -192,7 +192,7 @@ class probe: await asyncio.sleep(throttle.delay) login = { 'pass': settings.ns_pass if settings.ns_pass else rndnick(), - 'mail': settings.ns_mail if settings.ns_mail else '{rndnick()}@{rndnick()}.'+random.choice(('com','net','org')) + 'mail': settings.ns_mail if settings.ns_mail else f'{rndnick()}@{rndnick()}.'+random.choice(('com','net','org')) } for command in ('ADMIN', 'VERSION', 'LINKS', 'MAP', 'PRIVMSG NickServ :REGISTER {0} {1}'.format(login['pass'], login['mail']), 'LIST'): try: