From 5ae91f4b26f763e4c0571f8c3c3262f1c1503610 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 7 Nov 2023 20:20:30 -0600 Subject: [PATCH] Ignore self --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index 24498f3..66aea92 100644 --- a/bot.py +++ b/bot.py @@ -238,6 +238,8 @@ class bot: message = ( ircmsg.split("PRIVMSG", 1)[1].split(":", 1)[1].strip() ) + elif name == self.nick: + continue else: message = ircmsg.split("PRIVMSG", 1)[1].split(":", 1)[1].strip() if name.endswith("dsc"):