mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-29 01:01:24 +00:00
Support CoolQHttpApi message source
This commit is contained in:
@ -49,7 +49,7 @@ class MojoWebqqAdapter(Adapter):
|
||||
|
||||
return new_ctx
|
||||
|
||||
def get_login_info(self, ctx_msg: dict):
|
||||
def get_login_info(self):
|
||||
json = requests.get(self.api_url + '/get_user_info').json()
|
||||
if json:
|
||||
json['user_tid'] = json.get('id')
|
||||
|
Reference in New Issue
Block a user