mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-12-16 13:40:53 +08:00
fix bug
This commit is contained in:
parent
c3599c5c02
commit
bac5727c01
@ -38,6 +38,5 @@ MODULES_ON = {
|
|||||||
'codeonline',
|
'codeonline',
|
||||||
'Paimonchat',
|
'Paimonchat',
|
||||||
'Genshin_Paimon',
|
'Genshin_Paimon',
|
||||||
'myb_exchange',
|
'myb_exchange'
|
||||||
'check_status',
|
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ ROLE_2_PATH = os.path.join(RES_PATH,"DIY_gacha_pool","role_2.json")
|
|||||||
WEAPON_PATH = os.path.join(RES_PATH,"DIY_gacha_pool","weapon.json")
|
WEAPON_PATH = os.path.join(RES_PATH,"DIY_gacha_pool","weapon.json")
|
||||||
All_STAR_PATH = os.path.join(RES_PATH,"DIY_gacha_pool","all_star.json")
|
All_STAR_PATH = os.path.join(RES_PATH,"DIY_gacha_pool","all_star.json")
|
||||||
|
|
||||||
|
user_info={}
|
||||||
role_1_pool = {}
|
role_1_pool = {}
|
||||||
role_2_pool = {}
|
role_2_pool = {}
|
||||||
weapon_pool = {}
|
weapon_pool = {}
|
||||||
@ -40,7 +40,7 @@ with open(All_STAR_PATH,'r',encoding='UTF-8') as f:
|
|||||||
|
|
||||||
|
|
||||||
def init_user_info(uid:str):
|
def init_user_info(uid:str):
|
||||||
if not (uid in user_info):
|
if uid not in user_info:
|
||||||
user_info[uid] = {}
|
user_info[uid] = {}
|
||||||
user_info[uid]["fate"] = 200
|
user_info[uid]["fate"] = 200
|
||||||
user_info[uid]["gacha_list"] = {}
|
user_info[uid]["gacha_list"] = {}
|
||||||
|
BIN
hoshino/modules/Genshin_Paimon/res/reliquaries/72554.png
Normal file
BIN
hoshino/modules/Genshin_Paimon/res/reliquaries/72554.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
@ -5,7 +5,7 @@ pytz>=2021.3
|
|||||||
requests>=2.22.0
|
requests>=2.22.0
|
||||||
zhconv>=1.4.0
|
zhconv>=1.4.0
|
||||||
Pillow>=8.4.0
|
Pillow>=8.4.0
|
||||||
matplotlib>=3.2.0
|
matplotlib==3.2.0
|
||||||
numpy>=1.18.0
|
numpy>=1.18.0
|
||||||
beautifulsoup4>=4.9.0
|
beautifulsoup4>=4.9.0
|
||||||
pygtrie>=2.0
|
pygtrie>=2.0
|
||||||
@ -14,7 +14,6 @@ aiohttp>=3.6
|
|||||||
openpyxl>=3.0.9
|
openpyxl>=3.0.9
|
||||||
psutil>=5.4.3
|
psutil>=5.4.3
|
||||||
PyYAML>=5.4.1
|
PyYAML>=5.4.1
|
||||||
functools>=0.5
|
|
||||||
uuid>=1.30
|
uuid>=1.30
|
||||||
filetype
|
filetype
|
||||||
imageio
|
imageio
|
||||||
|
Loading…
x
Reference in New Issue
Block a user