join on /invite

This commit is contained in:
xfnw 2022-02-14 13:29:00 -07:00
parent 4f152c84ac
commit 4ed3c6bdd8

2
bam.py
View file

@ -61,6 +61,8 @@ class Server(BaseServer):
del self.log[nick] del self.log[nick]
async def on_invite(self, line):
await self.send(build("JOIN",[line.params[1]]))
class Bot(BaseBot): class Bot(BaseBot):
def create_server(self, name: str): def create_server(self, name: str):