diff --git a/src/structure/components/commands/information/Commands.js b/src/structure/components/commands/information/Commands.js index 00f7d8c..d2d91cd 100644 --- a/src/structure/components/commands/information/Commands.js +++ b/src/structure/components/commands/information/Commands.js @@ -15,7 +15,7 @@ class Commands extends SlashCommand { type: 'MODULE', description: ['List commands from a specific module'] }], - memberPermissions: ['ManageGuild'], + memberPermissions: [], guildOnly: true }); } diff --git a/src/utilities/FilterUtil.js b/src/utilities/FilterUtil.js index f2c0199..032d68f 100644 --- a/src/utilities/FilterUtil.js +++ b/src/utilities/FilterUtil.js @@ -197,6 +197,8 @@ module.exports = class FilterUtility { //Zero width character (UTF-16 8206) content = content.replace(/‎/gu, ''); + content = content.replace(/['"‘’“”]/gu, ''); + //Replace the weird letters with their normal text counterparts // eslint-disable-next-line no-useless-escape const match = (/[a-z0-9\w\(\)\.\\\/\?!]+/gimu).exec(content);