Fix: Add empty function to catch clauses
This commit is contained in:
@ -42,7 +42,7 @@ async function execute(interaction: ChatInputCommandInteraction): Promise<void>
|
||||
interaction.reply({
|
||||
embeds: [embed],
|
||||
ephemeral: true
|
||||
}).catch();
|
||||
}).catch(() => {});
|
||||
|
||||
if (!settings.notificationChannelID) return;
|
||||
const logChannel = await getGuildChannel(interaction.guildId, settings.notificationChannelID);
|
||||
@ -57,7 +57,7 @@ async function execute(interaction: ChatInputCommandInteraction): Promise<void>
|
||||
|
||||
logChannel.send({
|
||||
embeds: [logEmbed]
|
||||
}).catch();
|
||||
}).catch(() => {});
|
||||
}
|
||||
|
||||
export {
|
||||
|
Reference in New Issue
Block a user