Table of Contents

Interface IInteractionNamingPolicy

Namespace
DSharpPlus.Commands.Processors.SlashCommands.NamingPolicies
Assembly
DSharpPlus.Commands.dll

Represents a policy for naming parameters. This is used to determine the name of the parameter when registering or receiving interaction data.

public interface IInteractionNamingPolicy

Methods

GetParameterName(CommandParameter, CultureInfo, int)

Transforms the parameter name into the name that should be used for the interaction data.

TransformText(ReadOnlySpan<char>, CultureInfo)

Transforms the text into it's new case.