generated from array-in-a-matrix/matrix-bot-template
add auto join room to bot
This commit is contained in:
parent
1e77807867
commit
0060352dd4
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ const
|
|||
|
||||
let client = newMatrixClient(homeserver, token)
|
||||
|
||||
AutojoinRoomsMixinSetupOnClient(client)
|
||||
|
||||
client.start()
|
||||
|
||||
client.onRoomMessage(proc(roomId: cstring, event: Event) =
|
||||
|
|
Loading…
Add table
Reference in a new issue