This commit is contained in:
Daniel Odendahl Jr
2017-04-16 15:29:57 +00:00
parent 3507aca8b6
commit 96eac27521
+3
View File
@@ -43,6 +43,9 @@ module.exports = class StrawpollCommand extends Command {
try {
const response = await snekfetch
.post('https://strawpoll.me/api/v2/polls')
.set({
'Content-Type': 'application/json'
})
.send({
title: title,
options: choices