Module telescope::discord_bot::commands[][src]

Expand description

Telescope’s discord bot commands.

Modules

Discord slash command to get information about a user.

Structs

Telescope’s concept of a discord command. A builder function and a handler function.

Constants

Static list of all of Telescope’s Discord slash commands.

Functions

Get the handler for a given interaction by its command name.

Get a reference to the global command map.

Register all telescope slash command for a whitelisted guild.

Type Definitions

Command builder type. These builder function all act on serenity models and add the necessary info to them for each command.

Interaction handler type. All interaction handlers are references to async functions that act on context and interaction data.

Interactions return a boxed future of a serenity result.