Property PrefixResolver
- Namespace
- DSharpPlus.Commands.Processors.TextCommands
- Assembly
- DSharpPlus.Commands.dll
PrefixResolver
The function to use to resolve prefixes for commands.
public ResolvePrefixDelegateAsync PrefixResolver { get; init; }
Property Value
Remarks
For dynamic prefix resolving, IPrefixResolver registered to the DiscordClient's IServiceProvider should be preferred.