summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJoshua Liu <joshua.liu@sourceobby.com>2025-11-13 22:53:55 -0500
committerJoshua Liu <joshua.liu@sourceobby.com>2025-11-13 22:53:55 -0500
commit8718db0da478bf1db1edd4a5ca5e310c9f4a9a39 (patch)
treec98f47507654769a89f7227e85e1eb17b4c62a86 /main.py
parent657bc1e7bda53938da4c2d3c1a4fdf0a815b3404 (diff)
feat: got inheritance working, got the on_message working, and got the commands working again, so now all my commands are tucked neatly into a class
Diffstat (limited to 'main.py')
-rw-r--r--main.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/main.py b/main.py
index b84f91d..fcd36b2 100644
--- a/main.py
+++ b/main.py
@@ -1,14 +1,13 @@
import os
-import discord
import dotenv
+import discord
from bigresult import BigResultPlus
-import random
-from discord.ext import commands
dotenv.load_dotenv()
TOKEN = os.getenv('TOKEN')
-bot = BigResultPlus()
+intents = discord.Intents.all()
+bot = BigResultPlus(intents=intents, command_prefix="!")
bot.initialize_commands()
bot.run(TOKEN)