Commands API
Functions
Link copied to clipboard
Generate a fake Snowflake
Link copied to clipboard
Generate a fake Snowflake String
Link copied to clipboard
open fun registerCommand(@NonNull name: String, @NonNull description: String, @NonNull execute: (CommandContext) -> CommandsAPI.CommandResult)
open fun registerCommand(@NonNull name: String, @NonNull description: String, @NonNull option: ApplicationCommandOption, @NonNull execute: (CommandContext) -> CommandsAPI.CommandResult)
open fun registerCommand(@NonNull name: String, @NonNull description: String, @NonNull options: List<ApplicationCommandOption>, @NonNull execute: (CommandContext) -> CommandsAPI.CommandResult)
Registers a slash command.
Link copied to clipboard
Unregisters all commands
Link copied to clipboard
Unregisters a command.
Properties
Link copied to clipboard
ID of the Aliucord Application
Link copied to clipboard
Link copied to clipboard
Mapping of all registered commands to the plugin that registered them
Link copied to clipboard
Link copied to clipboard
InteractionsStore
Link copied to clipboard
Optional CommandOption of type String
Link copied to clipboard
Command List of the plugin associated with this CommandsAPI
Link copied to clipboard
Name of the plugin associated with this CommandsAPI
Link copied to clipboard
Required CommandOption of type String