diff options
| author | Joshua Liu <joshua.liu@sourceobby.com> | 2025-11-13 22:53:55 -0500 |
|---|---|---|
| committer | Joshua Liu <joshua.liu@sourceobby.com> | 2025-11-13 22:53:55 -0500 |
| commit | 8718db0da478bf1db1edd4a5ca5e310c9f4a9a39 (patch) | |
| tree | c98f47507654769a89f7227e85e1eb17b4c62a86 /main.py | |
| parent | 657bc1e7bda53938da4c2d3c1a4fdf0a815b3404 (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.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) |
