From 8718db0da478bf1db1edd4a5ca5e310c9f4a9a39 Mon Sep 17 00:00:00 2001 From: Joshua Liu Date: Thu, 13 Nov 2025 22:53:55 -0500 Subject: 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 --- main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'main.py') 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) -- cgit v1.2.3