From 4ed3c6bdd8b57a59f8fc3d7d1db04c785144fb27 Mon Sep 17 00:00:00 2001 From: xfnw Date: Mon, 14 Feb 2022 13:29:00 -0700 Subject: [PATCH] join on /invite --- bam.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bam.py b/bam.py index 0382c70..6b67116 100644 --- a/bam.py +++ b/bam.py @@ -61,6 +61,8 @@ class Server(BaseServer): del self.log[nick] + async def on_invite(self, line): + await self.send(build("JOIN",[line.params[1]])) class Bot(BaseBot): def create_server(self, name: str):