Skip to content

Commit

Permalink
优化提示
Browse files Browse the repository at this point in the history
  • Loading branch information
benx1n committed Aug 9, 2022
1 parent 7bb7ef5 commit a765079
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wws_ship.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async def get_ShipInfo(info,bot,ev):
ShipSecletProcess[ev['user_id']] = ShipSlectState(False, None, None)
return '已超时退出'
else:
return '找不到船'
return '找不到船,请确认船名是否正确,可以使用【wws 查船名】查询船只中英文'
else:
return '参数似乎出了问题呢'
url = 'https://api.wows.shinoaki.com/public/wows/account/ship/info'
Expand Down Expand Up @@ -270,7 +270,7 @@ async def get_ShipInfoRecent(info,bot,ev):
ShipSecletProcess[ev['user_id']] = ShipSlectState(False, None, None)
return '已超时退出'
else:
return '找不到船'
return '找不到船,请确认船名是否正确,可以使用【wws 查船名】查询船只中英文'
else:
return '参数似乎出了问题呢'
url = 'https://api.wows.shinoaki.com/api/wows/recent/v2/recent/info/ship'
Expand Down
2 changes: 1 addition & 1 deletion wws_shiprank.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def get_ShipRank(info,bot,ev):
ShipSecletProcess[ev['user_id']] = ShipSlectState(False, None, None)
return '已超时退出'
else:
return '找不到船'
return '找不到船,请确认船名是否正确,可以使用【wws 查船名】查询船只中英文'
content = await search_ShipRank_Yuyuko(select_shipId,param_server)
if content: #存在缓存,直接出图
return await html_to_pic(content, wait=0, viewport={"width": 1300, "height": 100})
Expand Down

0 comments on commit a765079

Please sign in to comment.