From c731de338affe6837fdd90214fdf884127d0263b Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 11 Apr 2017 13:47:15 +0000 Subject: [PATCH] Fix in Strawpoll --- commands/random/strawpoll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {