Fix channelcategory.channels

This commit is contained in:
Samuel Elliott 2018-08-22 13:23:22 +01:00
parent 8cf28fcaba
commit 5676435473
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ export class ChannelCategory extends GuildChannel {
* A list of channels in this category.
*/
get channels() {
return List.from(this.guild.channels, c => c.parentId === this.id);
return List.from(this.guild.channels.filter(c => c.parentId === this.id));
}
/**