v1

latestOpenAPI 3.0.02026-07-26441564.4 KB
Bots

Create a custom bot

put/bots

Request body

namestring

Name of the bot

clientSecretstring

Discord OAuth2 secret.

tokenstring

Discord bot/application token

Example request

{
  "name": "google play",
  "clientSecret": "JFcVvRVdnZb2QRa6DpY3LPwPMTpDi5X6",
  "token": "MTIxODI3MzA5MzI5ODk0NjA0OA.nt02aR.e7Uyh_D3GggylpuFFwbt2E5NR4c-lUoqFrM9fK"
}

Response

Successfully added Discord bot

successboolean
messagestring
botIdinteger

Example response

{
  "success": true,
  "message": "Successfully created bot!",
  "botId": 12481
}