mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-21 16:25:55 +00:00
setup: strip the white spaces from email domain
This commit is contained in:
parent
59b3c8507f
commit
4bf3f14248
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ module.exports = {
|
||||||
const verifiedRole = interaction.options.getRole("verifiedrole");
|
const verifiedRole = interaction.options.getRole("verifiedrole");
|
||||||
const emailDomains = interaction.options
|
const emailDomains = interaction.options
|
||||||
.getString("emaildomains")
|
.getString("emaildomains")
|
||||||
.split(",");
|
.split(",")
|
||||||
|
.map((domain) => domain.trim());
|
||||||
const actionitemschannel =
|
const actionitemschannel =
|
||||||
interaction.options.getChannel("actionitemschannel");
|
interaction.options.getChannel("actionitemschannel");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue