No summary provided.
Constructs a new instance of the
ApplicationsAPI
className | Type | Optional | Description |
---|---|---|---|
rest | REST | No | None |
Creates a new emoji of an application
Name | Type | Optional | Description |
---|---|---|---|
applicationId | Snowflake | No | The id of the application to create the emoji of |
body | RESTPostAPIApplicationEmojiJSONBody | No | The data for creating the emoji |
options | Pick<RequestData, 'signal'> | Yes | The options for creating the emoji |
Deletes an emoji of an application
Name | Type | Optional | Description |
---|---|---|---|
applicationId | Snowflake | No | The id of the application to delete the emoji of |
emojiId | Snowflake | No | The id of the emoji to delete |
options | Pick<RequestData, 'signal'> | Yes | The options for deleting the emoji |
Edits properties of the application associated with the requesting bot user.
Name | Type | Optional | Description |
---|---|---|---|
body | RESTPatchCurrentApplicationJSONBody | No | The new application data |
options | Pick<RequestData, 'signal'> | Yes | The options for editing the application |
Edits an emoji of an application
Name | Type | Optional | Description |
---|---|---|---|
applicationId | Snowflake | No | The id of the application to edit the emoji of |
emojiId | Snowflake | No | The id of the emoji to edit |
body | RESTPatchAPIApplicationEmojiJSONBody | No | The data for editing the emoji |
options | Pick<RequestData, 'signal'> | Yes | The options for editing the emoji |
Fetches the application associated with the requesting bot user.
Name | Type | Optional | Description |
---|---|---|---|
options | Pick<RequestData, 'signal'> | Yes | The options for fetching the application |
Fetches an emoji of an application
Name | Type | Optional | Description |
---|---|---|---|
applicationId | Snowflake | No | The id of the application to fetch the emoji of |
emojiId | Snowflake | No | The id of the emoji to fetch |
options | Pick<RequestData, 'signal'> | Yes | The options for fetching the emoji |
Fetches all emojis of an application
Name | Type | Optional | Description |
---|---|---|---|
applicationId | Snowflake | No | The id of the application to fetch the emojis of |
options | Pick<RequestData, 'signal'> | Yes | The options for fetching the emojis |