snowtransfer
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "snowtransfer", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Minimalistic Rest client for the Discord Api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -144,3 +144,3 @@ const Endpoints = require('../Endpoints'); | ||
async executeWebhook(webhookId, token, data) { | ||
if (typeof data !== 'string' && !data.content && !data.embed && !data.file) { | ||
if (typeof data !== 'string' && !data.content && !data.embeds && !data.file) { | ||
throw new Error('Missing content or embed'); | ||
@@ -169,2 +169,2 @@ } | ||
module.exports = WebhookMethods; | ||
module.exports = WebhookMethods; |
Sorry, the diff of this file is not supported yet
188273
2324