change createMessage to send (eris to d.js)
This commit is contained in:
parent
abc21ac158
commit
9d0fd0ee01
23 changed files with 71 additions and 71 deletions
|
@ -68,7 +68,7 @@ module.exports = class {
|
|||
});
|
||||
})
|
||||
.catch(err => {
|
||||
message.channel.createMessage(`${client.config.emojis.botError} An error has occurred: ${err}`);
|
||||
message.channel.send(`${client.config.emojis.botError} An error has occurred: ${err}`);
|
||||
});
|
||||
}
|
||||
};
|
|
@ -44,7 +44,7 @@ module.exports = class {
|
|||
createPaginationEmbed(message, embeds);
|
||||
})
|
||||
.catch(err => {
|
||||
message.channel.createMessage(`${client.config.emojis.botError} An error has occurred: ${err}`);
|
||||
message.channel.send(`${client.config.emojis.botError} An error has occurred: ${err}`);
|
||||
});
|
||||
}
|
||||
};
|
|
@ -50,7 +50,7 @@ module.exports = class {
|
|||
createPaginationEmbed(message, embeds);
|
||||
})
|
||||
.catch(err => {
|
||||
message.channel.createMessage(`${client.config.emojis.botError} An error has occurred: ${err}`);
|
||||
message.channel.send(`${client.config.emojis.botError} An error has occurred: ${err}`);
|
||||
});
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue