Table of Contents

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 Task RegisterSlashCommandsAsync(CommandsExtension extension)

Parameters

extension CommandsExtension

The extension to read the commands from.

Returns

Task