Table of Contents

Class SnakeCaseNamingPolicy

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

Transforms parameter names into snake_case.

public class SnakeCaseNamingPolicy : IInteractionNamingPolicy
Inheritance
SnakeCaseNamingPolicy
Implements

Methods

GetParameterName(CommandParameter, CultureInfo, int)

Transforms the parameter name into it's snake_case equivalent.

TransformText(ReadOnlySpan<char>, CultureInfo)

Transforms the text into it's new case.