diff --git a/commands/random/strawpoll.js b/commands/random/strawpoll.js index 74fc93eb..9b5f0f25 100644 --- a/commands/random/strawpoll.js +++ b/commands/random/strawpoll.js @@ -37,7 +37,7 @@ module.exports = class StrawpollCommand extends Command { if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return; } const title = args.title; - const choices = args.choices.split(' | '); + const choices = args.choices; if (choices.length < 2) return message.say(':x: Error! You provided less than two choices!'); if (choices.length > 31) return message.say(':x: Error! You provided more than thirty choices!'); try {