Skip to content

Commit

Permalink
Update translate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyC0R3 committed May 14, 2021
1 parent c189518 commit 456aff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const bufferChains = function bufferChains (data, from)
{

// Language you set it to translate to when setting up !t channel command
const langTo = res.raw[1][4][2];
const langTo = res.raw[1];
// Detected language from text
const detectedLang = res.from.language.iso;
// Language you set when setting up !t channel command
Expand Down

0 comments on commit 456aff7

Please sign in to comment.