Updated packages, take advantage of new eris-fleet features, fixed issue where messages wouldn't send
This commit is contained in:
parent
8431a3ab95
commit
536b931ead
8 changed files with 465 additions and 558 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue