diff --git a/src/events/interactionCreate.ts b/src/events/interactionCreate.ts index 252f383b..06dda594 100644 --- a/src/events/interactionCreate.ts +++ b/src/events/interactionCreate.ts @@ -154,6 +154,16 @@ export default { } bot permission check(s)`, label: 'Warden', }); + if ( + failedPermissions.bot.includes('ViewChannel') || + failedPermissions.bot.includes('SendMessages') + ) { + await interaction.replyHandler.locale( + 'DISCORD.INSUFFICIENT_PERMISSIONS.BOT.VIEW', + { type: 'error' }, + ); + return; + } await interaction.replyHandler.locale( 'DISCORD.INSUFFICIENT_PERMISSIONS.BOT.DEFAULT', {