diff --git a/src/lib/structures/Command.ts b/src/lib/structures/Command.ts index 235604a12..8cdf63d66 100644 --- a/src/lib/structures/Command.ts +++ b/src/lib/structures/Command.ts @@ -34,6 +34,14 @@ const ChannelTypes = Object.values(ChannelType).filter((type) => typeof type === const GuildChannelTypes = ChannelTypes.filter((type) => type !== ChannelType.DM && type !== ChannelType.GroupDM) as readonly ChannelType[]; export class Command extends AliasPiece { + /** + * The raw name of the command as provided through file name or constructor options. + * + * This is exactly what is set by the developer, completely unmodified internally by the framework. + * Unlike the `name` which gets lowercased for storing it uniquely in the {@link CommandStore}. + */ + public rawName: string; + /** * A basic summary about the command * @since 1.0.0 @@ -97,7 +105,10 @@ export class Command