⚰️ JS-0356 fixed
This commit is contained in:
parent
dab00617a2
commit
89b67906ec
2 changed files with 4 additions and 3 deletions
|
@ -42,8 +42,9 @@ export default {
|
||||||
|
|
||||||
await checkPermission(interaction, PermissionsBitField.Flags.ManageGuild);
|
await checkPermission(interaction, PermissionsBitField.Flags.ManageGuild);
|
||||||
|
|
||||||
const { errorColor, successColor, footerText, footerIcon } =
|
const { successColor, footerText, footerIcon } = await getEmbedConfig(
|
||||||
await getEmbedConfig(interaction.guild); // Destructure member
|
interaction.guild
|
||||||
|
); // Destructure member
|
||||||
const { guild, options } = interaction;
|
const { guild, options } = interaction;
|
||||||
|
|
||||||
// Get options
|
// Get options
|
||||||
|
|
|
@ -20,7 +20,7 @@ export default {
|
||||||
execute: async (interaction: ChatInputCommandInteraction) => {
|
execute: async (interaction: ChatInputCommandInteraction) => {
|
||||||
await deferReply(interaction, true);
|
await deferReply(interaction, true);
|
||||||
|
|
||||||
const { options, user, guild } = interaction;
|
const { options, guild } = interaction;
|
||||||
|
|
||||||
const { successColor, footerText, footerIcon } = await getEmbedConfig(
|
const { successColor, footerText, footerIcon } = await getEmbedConfig(
|
||||||
guild
|
guild
|
||||||
|
|
Loading…
Add table
Reference in a new issue