Update __init__.py
This commit is contained in:
parent
1fceab064c
commit
82651652ac
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ async def _(msg: Bot.MessageSession, tweet: str):
|
|||
if not res_json['data']:
|
||||
await msg.finish(msg.locale.t('tweet.message.not_found'))
|
||||
elif res_json['data']['__typename'] != "Tweet":
|
||||
await msg.finish(f"https://twitter.com/{res_json['data']['user']['screen_name']}/status/{tweet_id}")
|
||||
rickroll(msg)
|
||||
else:
|
||||
if await check_bool(res_json['data']['text'], res_json['data']['user']['name'],
|
||||
res_json['data']['user']['screen_name']):
|
||||
|
|
Reference in a new issue