mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
ChannelPermissions works generically
This commit is contained in:
@@ -13,7 +13,7 @@ class Channel {
|
||||
|
||||
for (var role of data.permission_overwrites) {
|
||||
|
||||
this.roles.push( new ChannelPermissions() );
|
||||
this.roles.push( new ChannelPermissions(role) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user