join on /invite
This commit is contained in:
parent
4f152c84ac
commit
4ed3c6bdd8
1 changed files with 2 additions and 0 deletions
2
bam.py
2
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):
|
||||
|
|
Loading…
Reference in a new issue