Method RegisterSlashCommandsAsync
- Namespace
- DSharpPlus.Commands.Processors.SlashCommands
- Assembly
- DSharpPlus.Commands.dll
RegisterSlashCommandsAsync(CommandsExtension)
Registers Commands as application commands. This will registers regardless of RegisterCommands's value.
public ValueTask RegisterSlashCommandsAsync(CommandsExtension extension)
Parameters
extension
CommandsExtensionThe extension to read the commands from.