From 2f9053bcc914a779d4d96362d4f0c16d28229911 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 24 Jul 2022 23:45:45 +0200 Subject: [PATCH] capitalize instead of uppercase --- src/commands/misc/help.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/misc/help.ts b/src/commands/misc/help.ts index 9385f57..173329c 100644 --- a/src/commands/misc/help.ts +++ b/src/commands/misc/help.ts @@ -3,6 +3,7 @@ import { Locale } from 'discord-api-types/v9'; import { Client, CommandInteraction, MessageEmbed } from 'discord.js'; import { getLocale, getLocalizations } from '../../utils/locales'; import { getFilename } from '../../utils/misc'; +import '../../modules/string'; export default { data: (client: Client) => { @@ -65,7 +66,7 @@ export default { }, ''); fields.push({ - name: category.toUpperCase(), + name: category.capitalize(), value: commands_description, }); });