mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
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:
@@ -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);
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user