Updated packages, take advantage of new eris-fleet features, fixed issue where messages wouldn't send

This commit is contained in:
Essem 2021-11-12 17:21:43 -06:00
parent 8431a3ab95
commit 536b931ead
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
8 changed files with 465 additions and 558 deletions

View file

@ -110,7 +110,7 @@ export default async (client, cluster, worker, ipc, message) => {
await client.createMessage(message.channel.id, Object.assign({
content: result
}, reference));
} else if (typeof result === "object" && result.embed) {
} else if (typeof result === "object" && result.embeds) {
await client.createMessage(message.channel.id, Object.assign(result, reference));
} else if (typeof result === "object" && result.file) {
let fileSize = 8388119;