capitalize instead of uppercase
This commit is contained in:
parent
9ed2138bab
commit
2f9053bcc9
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue