mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 20:43:56 +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)
|
||||
|
||||
if not settings:
|
||||
users.update_many({}, {"$inc": {"credits": 250}})
|
||||
users.update_many({}, {"$inc": {"credits": 2500}})
|
||||
|
||||
else:
|
||||
for key, value in settings.items():
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
roles = {
|
||||
'': '250',
|
||||
'lvl10': '280',
|
||||
'lvl20': '310',
|
||||
'lvl30': '340',
|
||||
'lvl40': '370',
|
||||
'lvl50': '400',
|
||||
'lvl60': '430',
|
||||
'lvl70': '460',
|
||||
'lvl80': '490',
|
||||
'lvl90': '520',
|
||||
'lvl100': '550',
|
||||
'': '2500',
|
||||
'lvl10': '2800',
|
||||
'lvl20': '3100',
|
||||
'lvl30': '3400',
|
||||
'lvl40': '3700',
|
||||
'lvl50': '4000',
|
||||
'lvl60': '4300',
|
||||
'lvl70': '4600',
|
||||
'lvl80': '4900',
|
||||
'lvl90': '5200',
|
||||
'lvl100': '5500',
|
||||
}
|
Loading…
Reference in a new issue