/emojis

Returns information from the applications emoji or emoji list

This endpoint supports the Exclude and Paginate headers.

Endpoint Headers:

  • bot-token - Token of the Bot [String] (Required)

  • apikey - Your Api Auth Key [String] (Required)

  • app-id - ID of the Application [Snowflake] (Required)

  • emoji - name, id, identifier or position (integer) of the emoji to be fetched [Snowflake] (Optional)

Endpoint URL Parameters

  • simple - Retrieves a simpler set of data [Boolean] (Optional)

Examples:

Data API version required. Must replace <version> with either release or beta.

Bot Designer for Discord

Example usage of /client/emojis endpoint using BDFD

  $httpAddHeader[apikey;<YOUR-API-KEY>]
  $httpAddHeader[bot-token;<YOUR-BOT-TOKEN>]
  $httpAddHeader[app-id;1064100501764968488] 
  $httpAddHeader[emoji;coolemoji1] $c[Optional header]
 
 $httpGet[https://bdfddata.rickyjs.xyz/<version>/client/emojis]
 
 $httpResult OR $httpResult[details]
Discord.js

Example usage of /client/emojis endpoint using Discord.js

Possible Responses (Codes)

Code 200 (Simple Not Used)

API succeeded and details were fetched.

Code 200 (Simple Used)

API succeeded and details were fetched.

Code 400

An error occurred that stopped execution.

Code 401

Invalid bot token was provided.

Code 404

An emoji header was provided, but did not match any records.

Last updated