feat(GuildChannelManager): add addFollower (#9050)

* feat: addFolower method

* Update src/structures/NewsChannel.js

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
Jaworek
2023-02-17 22:47:13 +01:00
committed by GitHub
parent 69d71e967e
commit 86329ad66f
3 changed files with 24 additions and 0 deletions

5
typings/index.d.ts vendored
View File

@@ -3356,6 +3356,11 @@ export class GuildChannelManager extends CachedManager<Snowflake, GuildBasedChan
name: string,
options?: TextChannel | NewsChannel | VoiceChannel | Snowflake,
): Promise<Webhook>;
public addFollower(
channel: NewsChannel | Snowflake,
targetChannel: TextChannelResolvable,
reason?: string,
): Promise<Snowflake>;
public edit(channel: GuildChannelResolvable, data: ChannelData, reason?: string): Promise<GuildChannel>;
public fetch(id: Snowflake, options?: BaseFetchOptions): Promise<GuildBasedChannel | null>;
public fetch(