mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
Merge branch 'master' into feat/more-platforms
This commit is contained in:
@@ -174,6 +174,7 @@ class AiocqhttpEventConverter(adapter.EventConverter):
|
||||
if event.message_type == "group":
|
||||
permission = "MEMBER"
|
||||
|
||||
if "role" in event.sender:
|
||||
if event.sender["role"] == "admin":
|
||||
permission = "ADMINISTRATOR"
|
||||
elif event.sender["role"] == "owner":
|
||||
|
||||
Reference in New Issue
Block a user