From 6d5331058cde36c49d132252818aecad5f14b1a2 Mon Sep 17 00:00:00 2001 From: henceiusegentoo Date: Mon, 7 Aug 2023 01:24:25 +0200 Subject: [PATCH] Fixed credit gain --- rewardsystem/autocredits.py | 2 +- rewardsystem/settings.py | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rewardsystem/autocredits.py b/rewardsystem/autocredits.py index 47c480a..7971fab 100644 --- a/rewardsystem/autocredits.py +++ b/rewardsystem/autocredits.py @@ -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(): diff --git a/rewardsystem/settings.py b/rewardsystem/settings.py index be73b94..826d23c 100644 --- a/rewardsystem/settings.py +++ b/rewardsystem/settings.py @@ -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', } \ No newline at end of file