From d50182ea9db74345f2d583744b2e2a35700be3f3 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 3 Sep 2017 19:17:30 +0000 Subject: [PATCH] Can do this instead --- commands/random/strawpoll.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/random/strawpoll.js b/commands/random/strawpoll.js index a48ca7c1..1ebf9663 100644 --- a/commands/random/strawpoll.js +++ b/commands/random/strawpoll.js @@ -40,7 +40,7 @@ module.exports = class StrawpollCommand extends Command { if (options.length > 31) return msg.say('Please provide thirty or less choices.'); try { const { body } = await snekfetch - .post('https://strawpoll.me/api/v2/polls', { followRedirects: true }) + .post('https://www.strawpoll.me/api/v2/polls') .set({ 'Content-Type': 'application/json' }) .send({ title, options }); return msg.say(stripIndents` diff --git a/package.json b/package.json index 0d444829..4532fd03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "35.1.5", + "version": "35.1.6", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {