gsd 2 years ago
parent
commit
a6355323ee
  1. 3
      bot.py

3
bot.py

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

Loading…
Cancel
Save