2019-10-28 16:02:00 +00:00
|
|
|
const fetch = require("node-fetch");
|
|
|
|
|
|
|
|
exports.run = async (message, args) => {
|
2019-12-29 16:56:32 +00:00
|
|
|
return `${message.author.mention}, this command is currently disabled due to various issues. We are looking for a fix.`;
|
|
|
|
/*if (args.length === 0) return `${message.author.mention}, you need to provide some text to translate to Yodish!`;
|
2019-11-30 02:00:14 +00:00
|
|
|
const request = await fetch(`https://yoda-api.appspot.com/api/v1/yodish?text=${encodeURIComponent(args.join(" "))}`);
|
2019-10-28 16:02:00 +00:00
|
|
|
const json = await request.json();
|
2019-12-29 16:56:32 +00:00
|
|
|
return json.yodish;*/
|
2019-10-28 16:02:00 +00:00
|
|
|
};
|
|
|
|
|
2019-12-02 20:47:22 +00:00
|
|
|
exports.aliases = ["yodish"];
|
|
|
|
exports.category = 4;
|
2019-12-29 16:56:32 +00:00
|
|
|
exports.help = "Translates a message to Yodish (disabled)";
|
2019-12-05 16:58:46 +00:00
|
|
|
exports.params = "[text]";
|