mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 22:33:57 +01:00
Fixed credit gain
This commit is contained in:
parent
63f03e7cbd
commit
6d5331058c
|
@ -7,7 +7,7 @@ async def update_credits(pymongo_client, settings=None):
|
||||||
users = await get_all_users(pymongo_client)
|
users = await get_all_users(pymongo_client)
|
||||||
|
|
||||||
if not settings:
|
if not settings:
|
||||||
users.update_many({}, {"$inc": {"credits": 250}})
|
users.update_many({}, {"$inc": {"credits": 2500}})
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for key, value in settings.items():
|
for key, value in settings.items():
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
roles = {
|
roles = {
|
||||||
'': '250',
|
'': '2500',
|
||||||
'lvl10': '280',
|
'lvl10': '2800',
|
||||||
'lvl20': '310',
|
'lvl20': '3100',
|
||||||
'lvl30': '340',
|
'lvl30': '3400',
|
||||||
'lvl40': '370',
|
'lvl40': '3700',
|
||||||
'lvl50': '400',
|
'lvl50': '4000',
|
||||||
'lvl60': '430',
|
'lvl60': '4300',
|
||||||
'lvl70': '460',
|
'lvl70': '4600',
|
||||||
'lvl80': '490',
|
'lvl80': '4900',
|
||||||
'lvl90': '520',
|
'lvl90': '5200',
|
||||||
'lvl100': '550',
|
'lvl100': '5500',
|
||||||
}
|
}
|
Loading…
Reference in a new issue