forked from Firepup650/FireBot
sendmsg -> msg
This commit is contained in:
parent
b1648c7563
commit
1f4adf21cc
1 changed files with 2 additions and 2 deletions
4
bot.py
4
bot.py
|
@ -82,11 +82,11 @@ class bot:
|
|||
return
|
||||
if chan.startswith("0") or (chan == "#main" and lock):
|
||||
if origin != "null":
|
||||
self.sendmsg(f"Refusing to join channel {chan} (protected)", origin)
|
||||
self.msg(f"Refusing to join channel {chan} (protected)", origin)
|
||||
return
|
||||
if chan in self.channels and lock:
|
||||
if origin != "null":
|
||||
self.sendmsg(f"I'm already in {chan}.", origin)
|
||||
self.msg(f"I'm already in {chan}.", origin)
|
||||
return
|
||||
self.send(f"JOIN {chan}\n")
|
||||
while True:
|
||||
|
|
Loading…
Reference in a new issue