mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
fix multiple embeds not being translated via omni
This commit is contained in:
parent
74b52ad5e9
commit
58bd45a4e7
2 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,7 @@ async function translateMessage(context, message, to, from){
|
||||||
fi++;
|
fi++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,6 +96,7 @@ async function translateMessage(context, message, to, from){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result.embeds[i] = Object.assign({}, newEmbed);
|
result.embeds[i] = Object.assign({}, newEmbed);
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ async function translateMessage(context, message, to, from){
|
||||||
fi++;
|
fi++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,6 +96,7 @@ async function translateMessage(context, message, to, from){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result.embeds[i] = Object.assign({}, newEmbed);
|
result.embeds[i] = Object.assign({}, newEmbed);
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue