feat: help command #36

Merged
Anri merged 23 commits from help into main 2022-07-25 00:54:19 +02:00
Showing only changes of commit 2f9053bcc9 - Show all commits

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,
}); });
}); });