Fixed credit gain

This commit is contained in:
henceiusegentoo 2023-08-07 01:24:25 +02:00
parent 63f03e7cbd
commit 6d5331058c
2 changed files with 12 additions and 12 deletions

View file

@ -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():

View file

@ -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',
} }