From d48dd44e6e1dadc2083a617fdf826a29a83df846 Mon Sep 17 00:00:00 2001 From: Julian Marcos Date: Fri, 7 Jan 2022 21:44:57 +0000 Subject: [PATCH] Fix --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 78aae0c..624a3c8 100755 --- a/bot.py +++ b/bot.py @@ -98,7 +98,7 @@ class bot: bot.raw(f"PRIVMSG {line[2]} :\x033[Echo]\x0F \x032{bot.get.nick(line[0])}\x0F said: \x039{' '.join(line[4:])}") elif (line[1] == 'PRIVMSG' and line[2] != NICK and line[3] == ":*.psa" and ((line[4]!="#lounge" and line[4]!="#lounge-ops" and line[4]!="#airstrip") or line[0][1:]=='julian!julian@envs.net') ): if (line[4].startswith('#')): - bot.raw(f"PRIVMSG {line[4]} :\x0307[Public Service Anouncement]\x0F {' '.join(line[5:])}") + bot.raw(f"PRIMSG {line[4]} :\x0307[Public Service Anouncement]\x0F {' '.join(line[5:])}") await bot.logger.log(f"[bold]PSA by [magenta]{line[0][1:]}[/magenta] -> [magenta]{line[4]}[/magenta] -> [blue]{' '.join(line[5:])}[/blue][/bold]", color=True) else: bot.raw(f"PRIVMSG {bot.get.nick(line[0])} :Sorry, the syntax for PSA is: *.psa ")