This commit is contained in:
GandC Snow 2021-10-10 16:52:59 +03:00
parent 9f9725a472
commit 4000c4d320

2
bot.py
View File

@ -10,7 +10,7 @@ class TestBot(irc.bot.SingleServerIRCBot):
self.channel = channel
def on_welcome(self, c, e):
c.mode('nickname', '+B')
c.mode(self._nickname, '+B')
c.join(self.channel)
def on_privmsg(self, c, e):