REF: Made sure everything conforms to Flake8's standards

FIX: Fixed the Permission issues with logger
FEAT: Changed how the XP system works. Now does a scaling curve with xp being 1-5
This commit is contained in:
Dan
2024-06-22 08:55:26 -04:00
parent 4d9214e378
commit 39603b1e06
12 changed files with 327 additions and 195 deletions

View File

@ -1,6 +1,7 @@
import logging
import discord
from discord import app_commands
import logging
logger = logging.getLogger(__name__)
@ -47,7 +48,7 @@ class PolicyModule:
embed=discord.Embed(
title="Privacy Policy",
description=privacy_policy_text,
color=discord.Color.blue()
color=discord.Color.blue(),
)
)
logger.info(f"User {interaction.user.id} viewed the privacy policy")
@ -93,7 +94,7 @@ class PolicyModule:
embed=discord.Embed(
title="Terms of Service",
description=tos_text,
color=discord.Color.blue()
color=discord.Color.blue(),
)
)
logger.info(f"User {interaction.user.id} viewed the terms of service")