Use Array
This commit is contained in:
parent
dc8c0ab570
commit
e15176123e
1 changed files with 12 additions and 6 deletions
|
@ -22,13 +22,19 @@ export default {
|
|||
// Check if command exists
|
||||
interaction.reply({ content: 'WIP', ephemeral: true });
|
||||
} else {
|
||||
const embed = new MessageEmbed()
|
||||
.setColor('BLURPLE')
|
||||
.setTitle(loc.get('c_help1'))
|
||||
.setDescription(loc.get('c_help2'))
|
||||
.addField('WIP', 'WIP');
|
||||
const fields = [];
|
||||
fields.push({
|
||||
name: 'WIP',
|
||||
value: 'WIP',
|
||||
});
|
||||
|
||||
interaction.reply({ embeds: [embed] });
|
||||
interaction.reply({ embeds: [
|
||||
new MessageEmbed()
|
||||
.setColor('BLURPLE')
|
||||
.setTitle(loc.get('c_help1'))
|
||||
.setDescription(loc.get('c_help2'))
|
||||
.addFields(fields),
|
||||
] });
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue