capitalize instead of uppercase

This commit is contained in:
Mylloon 2022-07-24 23:45:45 +02:00
parent 9ed2138bab
commit 2f9053bcc9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -3,6 +3,7 @@ import { Locale } from 'discord-api-types/v9';
import { Client, CommandInteraction, MessageEmbed } from 'discord.js'; import { Client, CommandInteraction, MessageEmbed } from 'discord.js';
import { getLocale, getLocalizations } from '../../utils/locales'; import { getLocale, getLocalizations } from '../../utils/locales';
import { getFilename } from '../../utils/misc'; import { getFilename } from '../../utils/misc';
import '../../modules/string';
export default { export default {
data: (client: Client) => { data: (client: Client) => {
@ -65,7 +66,7 @@ export default {
}, ''); }, '');
fields.push({ fields.push({
name: category.toUpperCase(), name: category.capitalize(),
value: commands_description, value: commands_description,
}); });
}); });