char -> char.list
This commit is contained in:
parent
1c9d137412
commit
53fc668e4a
3 changed files with 2 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -4,5 +4,4 @@ __pycache__
|
||||||
config.py
|
config.py
|
||||||
.idea
|
.idea
|
||||||
test.py
|
test.py
|
||||||
push.cmd
|
push.cmd
|
||||||
data
|
|
|
@ -276,7 +276,7 @@ class Ans(StdAns):
|
||||||
on_tree_players = on_tree_players + nowdata['all_player'][str(p)]['id'] + '\n'
|
on_tree_players = on_tree_players + nowdata['all_player'][str(p)]['id'] + '\n'
|
||||||
return '救命[CQ:at,qq=3178302597][CQ:at,qq=3430357110]\n' + on_tree_players + '都在🌳上'
|
return '救命[CQ:at,qq=3178302597][CQ:at,qq=3430357110]\n' + on_tree_players + '都在🌳上'
|
||||||
|
|
||||||
path = './data/pcr/char'
|
path = './data/pcr/char.list'
|
||||||
try:
|
try:
|
||||||
with open(path, 'r+', encoding='utf-8') as f:
|
with open(path, 'r+', encoding='utf-8') as f:
|
||||||
characters = f.readlines()
|
characters = f.readlines()
|
||||||
|
|
Loading…
Reference in a new issue