summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJoshua Liu <joshua.liu@sourceobby.com>2025-11-09 16:39:11 -0500
committerJoshua Liu <joshua.liu@sourceobby.com>2025-11-09 16:39:11 -0500
commit657bc1e7bda53938da4c2d3c1a4fdf0a815b3404 (patch)
tree4679f88d0a9e6076b8d28ae853cdaa254b77b244 /main.py
parentfecffeb0013a26867ed445d476b076667a3090f2 (diff)
feat: reworked to avoid a circular import and to move all commands into the class
Diffstat (limited to 'main.py')
-rw-r--r--main.py6
1 files changed, 3 insertions, 3 deletions
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