This commit is contained in:
2025-10-28 17:34:32 +01:00
parent f79a27aaca
commit ed1ea1f7af
4 changed files with 35 additions and 31 deletions

View File

@@ -26,6 +26,9 @@ class Gwendolyn(Client):
"""Add all the client, option and credentials objects."""
load_dotenv()
self.testing = getenv("GWENDOLYN_TESTING", "False").lower() in ('true', '1', 't')
if self.testing:
self.log("Testing mode", level=25)
self.enable_nework_services = getenv("NETWORK_SERVICES", "False").lower() in ('true', '1', 't')
self.bot_token = getenv("DISCORD_TOKEN")