diff --git a/SlashCommands/Utility/suggestion.js b/SlashCommands/Utility/suggestion.js index ea73dd8c..f3fbd841 100644 --- a/SlashCommands/Utility/suggestion.js +++ b/SlashCommands/Utility/suggestion.js @@ -101,6 +101,8 @@ module.exports = { let member = await interaction.guild.members.cache.find(user => user.id === idData.Suggester); + if (!member.permissions.has("ManageServer")) return interaction.followUp("Missing Permissions"); + let suggester = await member.user.tag; if (!suggester) suggester = "Unknown User"; @@ -139,6 +141,8 @@ module.exports = { let user = await interaction.guild.members.cache.find(user => user.id === messageData.Suggester); + if (!user.permissions.has("ManageServer")) return interaction.followUp("Missing Permissions"); + let smaker = await user.user.tag; if (!smaker) smaker = "Unknown User";