mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-14 03:09:59 +00:00
Changed embed message
This commit is contained in:
@@ -27,10 +27,9 @@ const EMBEDS = {
|
|||||||
user: (data instanceof Interaction) ? data.user : data.author
|
user: (data instanceof Interaction) ? data.user : data.author
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
NO_PERMISSION: (data: Message | Interaction, permissions: string) => {
|
NO_PERMISSION: (data: Message | Interaction) => {
|
||||||
return makeErrorEmbed ({
|
return makeErrorEmbed ({
|
||||||
title: 'Developer only',
|
title: 'You need ``ADMINISTRATOR`` permission on this guild!',
|
||||||
description: 'You need ``' + permissions + '`` permission on this guild!',
|
|
||||||
user: (data instanceof Interaction) ? data.user : data.author
|
user: (data instanceof Interaction) ? data.user : data.author
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -27,12 +27,6 @@ const EMBEDS = {
|
|||||||
user: (data instanceof Interaction) ? data.user : data.author
|
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) => {
|
NO_USER_FOUND: (data: Message | Interaction) => {
|
||||||
return makeErrorEmbed ({
|
return makeErrorEmbed ({
|
||||||
title: `That user doesn't exists on osu!`,
|
title: `That user doesn't exists on osu!`,
|
||||||
|
|||||||
Reference in New Issue
Block a user