forked from Supositware/Haha-Yes
Removed some useless things
This commit is contained in:
parent
5a43d46975
commit
84aaeefe00
1 changed files with 7 additions and 16 deletions
|
@ -139,22 +139,13 @@ export default {
|
|||
}
|
||||
|
||||
for (const category in object) {
|
||||
let title;
|
||||
if (interaction.user.id === ownerId) {
|
||||
title = {
|
||||
const title = {
|
||||
fun: '🎉\u2000Fun',
|
||||
utility: '🔩\u2000Utility',
|
||||
admin: '⚡\u2000Admin',
|
||||
owner: '🛠️\u2000Owner',
|
||||
}[category];
|
||||
}
|
||||
else {
|
||||
title = {
|
||||
fun: '🎉\u2000Fun',
|
||||
utility: '🔩\u2000Utility',
|
||||
admin: '⚡\u2000Admin',
|
||||
}[category];
|
||||
}
|
||||
|
||||
embed.addFields({ name: title, value: `\`${object[category].join('` `')}\`` });
|
||||
}
|
||||
return interaction.reply({ embeds: [embed] });
|
||||
|
|
Loading…
Reference in a new issue