mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Changed embed message
This commit is contained in:
@@ -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
|
||||
});
|
||||
},
|
||||
|
||||
@@ -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!`,
|
||||
|
||||
Reference in New Issue
Block a user