mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +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
|
||||
|
||||
Reference in New Issue
Block a user