import { AbstractGuildChannel } from '@src/api/entities/channel/AbstractGuildChannel' ; import { ChannelTypes } from '@src/constants' ; import { ChannelResolvable } from '@src/api' ; export class GuildNewsChannel extends AbstractGuildChannel { public type ! : ChannelTypes . GUILD_NEWS ; async follow ( follower , reason ? ) { const response = await this . client . channels . addFollower ( this . id , follower , reason ) ; return response ? this : undefined ; } }