forked from Firepup650/FireBot
Ignore self
This commit is contained in:
parent
c4a9815a9c
commit
5ae91f4b26
1 changed files with 2 additions and 0 deletions
2
bot.py
2
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"):
|
||||
|
|
Loading…
Reference in a new issue