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):