Table of Contents

Class SnakeCaseNamingFixer

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

Transforms parameter names into snake_case.

public class SnakeCaseNamingFixer : IInteractionNamingPolicy
Inheritance
object
SnakeCaseNamingFixer
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.