|
@ -64,6 +64,9 @@ class DiscordClient(commands.Bot): |
|
|
@self.event |
|
|
@self.event |
|
|
async def on_ready(): |
|
|
async def on_ready(): |
|
|
print(f'Logged in as {self.user} (ID: {self.user.id})') |
|
|
print(f'Logged in as {self.user} (ID: {self.user.id})') |
|
|
|
|
|
print("Active guilds:") |
|
|
|
|
|
for guild in self.guilds: |
|
|
|
|
|
print(guild) |
|
|
|
|
|
|
|
|
@self.tree.error |
|
|
@self.tree.error |
|
|
async def on_app_command_error(interaction, error): |
|
|
async def on_app_command_error(interaction, error): |
|
|