Discord Bots
  • API Introduction
  • Implementing Voting
  • Vote Webhooks
  • Bot Statistics
  • Vote API
  • Commands List
Powered by GitBook
On this page
  • Example Command Body
  • POST Commands

Was this helpful?

Commands List

Show your Discord Bot commands on discordbotlist.com

You can now send the list of slash commands that your bot supports to discordbotlist.com - In the same format as the Discord API standard. These will be shown on your bot page

Example Command Body

[
  {
    "name": "ping",
    "description": "Pong!",
    "type": 1
  }
]

POST Commands

POST https://discordbotlist.com/api/v1/bots/:id/commands

JSON Body, exact same as sent to discord. For Example

Path Parameters

Name
Type
Description

:id*

Snowflake

Bot ID

Headers

Name
Type
Description

Authorization*

String

Bot <discordbotlist.com token>

Request Body

Name
Type
Description

[]*

Array

Array of commands

{
    // Response
}
PreviousVote API

Last updated 2 years ago

Was this helpful?