Skip to content

Overview of API

Welcome to the API section!


This section covers the high-level objects. It provides entry-level classes for building a bot such as the client, registering commands and event listeners, and accessing Discord resources.


  • Addon - type convenience to group addon classes.
  • Channel - tools for building a channel object.
  • Client - main entry point for discord bot.
  • Commands - register and runs commands and event handlers.
  • Components - register and runs component handlers.
  • Embed (Legacy) - tools for adding embedded content within a message.
  • Guild - creating guild objects.
  • Image Data - tools for building a Data URI scheme for images.
  • Intents - specify what events you want your bot to receive.
  • Invites - creating invites.
  • Message - tools for building a message.
  • Permissions - tools for setting and checking permissions.
  • Role - layout for building a role.
  • UI Components - tools for building Discord's new component setup.