diff --git a/src/modules/base/base.py b/src/modules/base/base.py index fc4d79f..35c53eb 100644 --- a/src/modules/base/base.py +++ b/src/modules/base/base.py @@ -157,7 +157,7 @@ class Base(ModuleABC, OnMemberJoinABC, OnMemberRemoveABC, OnMessageABC, OnVoiceS join.leaved_on = datetime.now() # ontime as hours - ontime = (join.leaved_on - join.joined_on).total_seconds()/3600 + ontime = round((join.leaved_on - join.joined_on).total_seconds()/3600, 2) old_xp = user.xp user.xp += round(ontime * server_st.xp_per_ontime_hour)