Method ResolvePrefixAsync
- Namespace
- DSharpPlus.Commands.Processors.TextCommands.Parsing
- Assembly
- DSharpPlus.Commands.dll
ResolvePrefixAsync(CommandsExtension, DiscordMessage)
Resolves the prefix for the command.
ValueTask<int> ResolvePrefixAsync(CommandsExtension extension, DiscordMessage message)
Parameters
extension
CommandsExtensionThe commands extension.
message
DiscordMessageThe message to resolve the prefix for.