Class ChoiceProvider
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Implementation of IChoiceProvider with access to service collection.
public abstract class ChoiceProvider : IChoiceProvider
- Inheritance
-
ChoiceProvider
- Implements
Properties
- GuildId
The optional ID of the Guild the command got registered for.
- Services
Sets the service provider.
Methods
- Provider()
Sets the choices for the slash command.