Package-level declarations
Contains all models and helper functions for Discord REST API
Types
Marks symbol being automatically generated by codegen
General-purpose interface for filtering messages.
List-like interface to transparently access cached and retrieve not-yet-received messages from Discord.
Efficiently stores a permission set
Discord utilizes Twitter's snowflake format for uniquely identifiable descriptors (IDs). These IDs are guaranteed to be unique across all of Discord, except in some unique scenarios in which child objects share their parent's ID.
Functions
Must be called in KiscordCall context
Create a reaction for the message. This endpoint requires the 'READ_MESSAGE_HISTORY' permission to be present on the current user. Additionally, if nobody else has reacted to the message using this emoji, this endpoint requires the 'ADD_REACTIONS' permission to be present on the current user. Returns a 204 empty response on success.
Deletes all the reactions for a given emoji on a message. This endpoint requires the MANAGE_MESSAGES permission to be present on the current user.
Deletes the followup message.
Deletes the initial Interaction response.
Delete a reaction the current user has made for the message
Deletes another user's reaction. This endpoint requires the 'MANAGE_MESSAGES' permission to be present on the current user.
Edit the message
Edits the followup message.
Edits the initial Interaction response with message
Edits the initial Interaction response. with message builder
Creates followup message.
Get a list of users that reacted with this emoji.
Retrieves MessageList for a specified channel.
Returns a set containing all permissions of the original set except the given permission.
Returns a set containing all permissions of the original set except the permissions contained in the given permissions collection.
Returns a set containing all permissions of the original set except the permissions contained in the given permissions array.
Returns an empty permission set.
Returns a new set of the given permissions.
Returns a set containing all permissions of the original set and then the given permission if it isn't already in this set.
Returns a set containing all permissions of the original set and then the given permissions collection, which aren't already in this set.
Returns a set containing all permissions of the original set and then the given permissions array, which aren't already in this set.
Reply to the message in the originating channel with message builder
Reply to the message in the originating channel with message builder and typing indicator
Respond to the interaction with response
Respond to the interaction with response builder
Respond to the message in the originating channel with message builder
Respond to the interaction with response with specified type and optional response data builder
Respond to the message in the originating channel with message builder and typing indicator
Returns PermissionSet that contains all permissions of the original array.
Returns PermissionSet that contains all permissions of the original collection.
Post a typing indicator for the specified channel all time while block executed.