Fix yoda for real

This commit is contained in:
Dragon Fire
2024-05-13 16:05:09 -04:00
parent b2f189d613
commit 0d6c4aa5d5
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = class YodaCommand extends Command {
data.append('YodaMe', message); data.append('YodaMe', message);
data.append('go', 'Convert+to+Yoda+Speak!'); data.append('go', 'Convert+to+Yoda+Speak!');
const { text } = await request const { text } = await request
.post('http://yodaspeak.co.uk/index.php#mainform') .post('https://yodaspeak.co.uk/index.php#mainform')
.send(data, true) .send(data, true)
.set({ 'Content-Type': 'application/x-www-form-urlencoded' }); .set({ 'Content-Type': 'application/x-www-form-urlencoded' });
const $ = cheerio.load(text); const $ = cheerio.load(text);