Changed embed message

This commit is contained in:
2021-09-19 09:12:57 -07:00
parent cf16a9bb94
commit 7fe1aeab77
2 changed files with 3 additions and 10 deletions
+3 -4
View File
@@ -27,10 +27,9 @@ const EMBEDS = {
user: (data instanceof Interaction) ? data.user : data.author
});
},
NO_PERMISSION: (data: Message | Interaction, permissions: string) => {
return makeErrorEmbed({
title: 'Developer only',
description: 'You need ``' + permissions + '`` permission on this guild!',
NO_PERMISSION: (data: Message | Interaction) => {
return makeErrorEmbed ({
title: 'You need ``ADMINISTRATOR`` permission on this guild!',
user: (data instanceof Interaction) ? data.user : data.author
});
},
-6
View File
@@ -27,12 +27,6 @@ const EMBEDS = {
user: (data instanceof Interaction) ? data.user : data.author
});
},
NO_PERMISSION: (data: Message | Interaction) => {
return makeErrorEmbed ({
title: 'You need ``ADMINISTRATOR`` permission on this guild!',
user: (data instanceof Interaction) ? data.user : data.author
});
},
NO_USER_FOUND: (data: Message | Interaction) => {
return makeErrorEmbed ({
title: `That user doesn't exists on osu!`,