Forgot to remove console.log

This commit is contained in:
Loic Bersier 2018-12-02 01:35:45 +01:00
parent eb164646e3
commit 580eed9cdc

View file

@ -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();