This commit is contained in:
SiHuan 2020-04-30 17:34:00 +08:00
parent fe20c98d9a
commit c42370cc34

View file

@ -204,8 +204,12 @@ class Ans(StdAns):
if cmd == '查刀': if cmd == '查刀':
alldao = '' alldao = ''
for value in nowdata['all_player'].values(): for key, value in nowdata['all_player'].items():
alldao = alldao + value['id'] + ' ' + '🔪'*value['余刀'] + '🍴'*value['加时刀'] + '\n' alldao = alldao + value['id'] + ' ' + '🔪'*value['余刀'] + '🍴'*value['加时刀']
if int(key) in nowdata['tree']:
alldao = alldao + ' 在🌳上\n'
else:
alldao = alldao + '\n'
return alldao return alldao