Cadence Ember

Results 43 comments of Cadence Ember

What were you expecting message type to return? Message type describes the type of message that was sent. 0 is a regular message, that is typed by a human. Anything...

try logging `erMsg` and `code`, they might give insight into what's going on also, are you using the community fork or izy's original version?

There are three endpoints in the API for assigning roles to members. 1. "Add guild member role." This takes a member and a role and adds that role. 2. "Remove...

`.deleteMessages({channelID: "123", messageIDs: ["456", "789"]})` It's in the docs.

You can do this with the standard code. No library modifications necessary. bot.sendMessage({to: channelID, message: "something to delete"}, function(err, res) { bot.deleteMessage({channelID: channelID, messageID: res.id}); }); Is your developer application...

`Object.keys(bot.servers)` gives an array of server IDs. Imagine reading the docs :)))))

Are you using the gateway v6 community fork? (Woor/discord.io)

I've never heard of this happening before. Maybe join the support server and ask there? https://discord.gg/0MvHMfHcTKVVmIGP

For future readers, the solution was to add a disconnect listener. bot.on("disconnect", () => { bot.connect(); });

.sendMessage(options, (err, res) => { // do something with res.id Feel free to join the official server to ask more questions: https://discord.gg/0MvHMfHcTKVVmIGP