Fixed all of the whoops
This commit is contained in:
@@ -7,10 +7,11 @@ 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):
|
||||
# Register the commands via a group to the command tree
|
||||
self.tree.add_command(DollyProjectTrackerCommands())
|
||||
await self.tree.sync()
|
||||
|
||||
|
||||
async def on_ready(self):
|
||||
print(f"Logged in as {self.user} (ID: {self.user.id})\n------")
|
Reference in New Issue
Block a user