mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 06:10:49 +02:00
Fix?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user