forked from Supositware/Haha-Yes
Forgot to remove console.log
This commit is contained in:
parent
eb164646e3
commit
580eed9cdc
1 changed files with 0 additions and 2 deletions
|
@ -27,8 +27,6 @@ module.exports = class translationCommand extends Command {
|
||||||
if(blacklistJson[message.author.id])
|
if(blacklistJson[message.author.id])
|
||||||
return blacklist(blacklistJson[message.author.id] , message)
|
return blacklist(blacklistJson[message.author.id] , message)
|
||||||
|
|
||||||
console.log(yandexAPI)
|
|
||||||
|
|
||||||
fetch(`https://translate.yandex.net/api/v1.5/tr.json/translate?key=${yandexAPI}&text=${text}&lang=en`,{
|
fetch(`https://translate.yandex.net/api/v1.5/tr.json/translate?key=${yandexAPI}&text=${text}&lang=en`,{
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
return response.json();
|
return response.json();
|
||||||
|
|
Loading…
Reference in a new issue