优化:武器命令(防止两个Bot互刷)

This commit is contained in:
Wuyi无疑 2022-06-06 13:05:11 +08:00 committed by GitHub
parent a5c6f9c260
commit e462ccf60e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -531,7 +531,7 @@ async def get_event_pic():
async def weapon_wiki(name, level=None):
data = await get_weapon_info(name)
if 'errcode' in data:
im = '武器不存在。'
im = '武器不存在。'
elif level:
data2 = await get_weapon_info(name, level)
if data['substat'] != '':