commandDispatcher: apparently eris has polyfill for Message.embed

This commit is contained in:
Cynthia Foxwell 2022-04-20 13:48:29 -06:00
parent fd7990aa3c
commit f99780c297

View file

@ -93,6 +93,7 @@ async function CommandDispatcher(msg) {
}
if (response.embed) {
response.embeds = [...(response.embeds ?? []), response.embed];
delete response.embed;
}
if (response.embeds) {
for (const embed of response.embeds) {