mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 14:19:56 +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 }) {
|
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
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user