diff --git a/commands/moderation/setup.js b/commands/moderation/setup.js index 71b2274..f843aa6 100644 --- a/commands/moderation/setup.js +++ b/commands/moderation/setup.js @@ -63,7 +63,8 @@ module.exports = { const verifiedRole = interaction.options.getRole("verifiedrole"); const emailDomains = interaction.options .getString("emaildomains") - .split(","); + .split(",") + .map((domain) => domain.trim()); const actionitemschannel = interaction.options.getChannel("actionitemschannel");