From aead213a62aecc446300d981b80b44fad99df3dc Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 31 Aug 2018 17:31:08 +0000 Subject: [PATCH] Fix yoda speak endpoint --- commands/text-edit/yoda.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/text-edit/yoda.js b/commands/text-edit/yoda.js index a7320f6b..7b0548cf 100644 --- a/commands/text-edit/yoda.js +++ b/commands/text-edit/yoda.js @@ -24,7 +24,7 @@ module.exports = class YodaCommand extends Command { async run(msg, { sentence }) { try { const { body } = await request - .get('https://yoda-speak-api.herokuapp.com/') + .get('https://yoda-speak-api.herokuapp.com/speak') .query({ text: sentence, token: YODA_KEY diff --git a/package.json b/package.json index 37350971..01c7b96e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "88.3.1", + "version": "88.3.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {