Fix yoda speak endpoint

This commit is contained in:
Daniel Odendahl Jr
2018-08-31 17:31:08 +00:00
parent 80f5f5acc1
commit aead213a62
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ module.exports = class YodaCommand extends Command {
async run(msg, { sentence }) { async run(msg, { sentence }) {
try { try {
const { body } = await request const { body } = await request
.get('https://yoda-speak-api.herokuapp.com/') .get('https://yoda-speak-api.herokuapp.com/speak')
.query({ .query({
text: sentence, text: sentence,
token: YODA_KEY token: YODA_KEY
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "xiao", "name": "xiao",
"version": "88.3.1", "version": "88.3.2",
"description": "Your personal server companion.", "description": "Your personal server companion.",
"main": "Xiao.js", "main": "Xiao.js",
"scripts": { "scripts": {