remove console.log
This commit is contained in:
parent
59ed3a149d
commit
f2fd911e30
|
@ -918,7 +918,6 @@ module.exports = (_ => {
|
||||||
let embedIds = message.embeds.map(embed => embed.id);
|
let embedIds = message.embeds.map(embed => embed.id);
|
||||||
this.translateText(allTextsToTranslate, messageTypes.RECEIVED, (translatedText, input, output) => {
|
this.translateText(allTextsToTranslate, messageTypes.RECEIVED, (translatedText, input, output) => {
|
||||||
if (translatedText) {
|
if (translatedText) {
|
||||||
console.log(translatedText);
|
|
||||||
// Split the translated text back into components
|
// Split the translated text back into components
|
||||||
let translatedSegments = translatedText.split(/\n{0,1}__________________ __________________ __________________\n{0,1}/);
|
let translatedSegments = translatedText.split(/\n{0,1}__________________ __________________ __________________\n{0,1}/);
|
||||||
let translatedContent = translatedSegments.shift();
|
let translatedContent = translatedSegments.shift();
|
||||||
|
|
Loading…
Reference in New Issue