Member role *should* be used properly across the API

The Client now SHOULD add roles properly to members, as they leave it up
to the Server class.
This commit is contained in:
hydrabolt
2015-10-03 20:18:49 +01:00
parent a10f19a7a7
commit 4e117b85d9
9 changed files with 360 additions and 28 deletions

View File

@@ -19,7 +19,7 @@ mybot.on("message", function (message) {
// we can go ahead :)
mybot.reply(message, "\n\n"+JSON.stringify(message.channel.server.roles));
mybot.reply(message, message.sender.roles);
});