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 e15176123e - Show all commits

View file

@ -22,13 +22,19 @@ export default {
// Check if command exists // Check if command exists
interaction.reply({ content: 'WIP', ephemeral: true }); interaction.reply({ content: 'WIP', ephemeral: true });
} else { } else {
const embed = new MessageEmbed() const fields = [];
fields.push({
name: 'WIP',
value: 'WIP',
});
interaction.reply({ embeds: [
new MessageEmbed()
.setColor('BLURPLE') .setColor('BLURPLE')
.setTitle(loc.get('c_help1')) .setTitle(loc.get('c_help1'))
.setDescription(loc.get('c_help2')) .setDescription(loc.get('c_help2'))
.addField('WIP', 'WIP'); .addFields(fields),
] });
interaction.reply({ embeds: [embed] });
} }
}, },
}; };