Redid Dolly's code

This commit is contained in:
Dan
2024-05-03 22:38:27 -04:00
parent 4ea2ffb162
commit e28176b558
4 changed files with 80 additions and 0 deletions

16
dolly/dolly.py Normal file
View File

@@ -0,0 +1,16 @@
import discord
from discord import app_commands
from .commands import DollyProjectTrackerCommands
class Dolly(discord.Client):
def __init__(self):
super().__init__(intents=discord.Intents.default())
self.tree = app_commands.CommandTree(self)
self.tree.add_command(DollyProjectTrackerCommands())
async def setup_hook(self):
await self.tree.sync()
async def on_ready(self):
print(f"Logged in as {self.user} (ID: {self.user.id})\n------")