Base class to represent some object on Discord, e.g. users, channels, etc., through its subclasses.
Represents something mentionable on Discord with @name - roles and users.
Most the magic is inherited from arsd.http2.HttpApiClient.
A SendingUser is a special DiscordUser type that just represents the person who sent the message.
You can create your own slash command handlers by subclassing this and writing methods like
Use as a UDA
You can use SlashCommandHandler subclasses registered with a gateway connection to easily add slash commands to your app.
Started April 20, 2024.
Module for interacting with the Discord chat service. I use it to run a discord bot providing some slash commands.