From 657bc1e7bda53938da4c2d3c1a4fdf0a815b3404 Mon Sep 17 00:00:00 2001 From: Joshua Liu Date: Sun, 9 Nov 2025 16:39:11 -0500 Subject: feat: reworked to avoid a circular import and to move all commands into the class --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 4c3e312..b84f91d 100644 --- a/main.py +++ b/main.py @@ -8,8 +8,8 @@ from discord.ext import commands dotenv.load_dotenv() TOKEN = os.getenv('TOKEN') -intents = discord.Intents.all() +bot = BigResultPlus() +bot.initialize_commands() +bot.run(TOKEN) -client = BigResultPlus(intents=intents, command_prefix="!") # This represents our connection with Discord -client.run(TOKEN) # This actually starts our bot -- cgit v1.2.3