Ignore self

This commit is contained in:
Firepup Sixfifty 2023-11-07 20:20:30 -06:00
parent c4a9815a9c
commit 5ae91f4b26
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

2
bot.py
View file

@ -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"):