fix pcr
This commit is contained in:
parent
78f360a99d
commit
76b55c2d02
1 changed files with 3 additions and 1 deletions
|
@ -216,12 +216,14 @@ class Ans(StdAns):
|
||||||
|
|
||||||
if cmd == '查刀':
|
if cmd == '查刀':
|
||||||
alldao = ''
|
alldao = ''
|
||||||
|
index = 1
|
||||||
for key, value in nowdata['all_player'].items():
|
for key, value in nowdata['all_player'].items():
|
||||||
alldao = alldao + value['id'] + ' ' + '🔪'*value['余刀'] + '🍴'*value['加时刀']
|
alldao = alldao + str(index) + '. ' + value['id'] + ' ' + '🔪'*value['余刀'] + '🍴'*value['加时刀']
|
||||||
if int(key) in nowdata['tree']:
|
if int(key) in nowdata['tree']:
|
||||||
alldao = alldao + ' 在🌳上\n'
|
alldao = alldao + ' 在🌳上\n'
|
||||||
else:
|
else:
|
||||||
alldao = alldao + '\n'
|
alldao = alldao + '\n'
|
||||||
|
index = index + 1
|
||||||
return alldao
|
return alldao
|
||||||
|
|
||||||
if cmd == '求助':
|
if cmd == '求助':
|
||||||
|
|
Loading…
Reference in a new issue