Merge branch 'join-on-invite-patch' into dylhack-master
This commit is contained in:
commit
a3692d2646
2
bot.py
2
bot.py
|
@ -389,7 +389,7 @@ class Bot:
|
||||||
if matrix_server and self.matrix_user and bot_owners and access_token:
|
if matrix_server and self.matrix_user and bot_owners and access_token:
|
||||||
self.client = AsyncClient(matrix_server, self.matrix_user, ssl = matrix_server.startswith("https://"))
|
self.client = AsyncClient(matrix_server, self.matrix_user, ssl = matrix_server.startswith("https://"))
|
||||||
self.client.access_token = access_token
|
self.client.access_token = access_token
|
||||||
self.join_on_invite = join_on_invite is not None
|
self.join_on_invite = (join_on_invite or '').lower() == 'true'
|
||||||
self.owners = bot_owners.split(',')
|
self.owners = bot_owners.split(',')
|
||||||
self.owners_only = owners_only
|
self.owners_only = owners_only
|
||||||
self.get_modules()
|
self.get_modules()
|
||||||
|
|
Loading…
Reference in New Issue