fix
This commit is contained in:
parent
edacc90333
commit
5b621cb4f6
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ async def cytoid_profile(msg: Bot.MessageSession):
|
|||
else:
|
||||
query_id = CytoidBindInfoManager(msg).get_bind_username()
|
||||
if query_id is None:
|
||||
return await msg.sendMessage(msg.locale.t('cytoid.message.user.unbound'))
|
||||
return await msg.sendMessage(msg.locale.t('cytoid.message.user.unbound', prefix=msg.prefixes[0])))
|
||||
profile_url = 'http://services.cytoid.io/profile/' + query_id
|
||||
try:
|
||||
profile = json.loads(await get_url(profile_url, status_code=200))
|
||||
|
|
Reference in a new issue