mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix yoda speak endpoint
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "88.3.1",
|
||||
"version": "88.3.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user