mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Added full evaluation of SERVERwide permissions
This commit is contained in:
@@ -26,7 +26,7 @@ var Channel = (function () {
|
||||
for (var _iterator = data.permission_overwrites[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
||||
var role = _step.value;
|
||||
|
||||
this.roles.push(new ChannelPermissions());
|
||||
this.roles.push(new ChannelPermissions(role));
|
||||
}
|
||||
|
||||
//this.isPrivate = isPrivate; //not sure about the implementation of this...
|
||||
|
||||
Reference in New Issue
Block a user