feat v13: add addFollower on GuildChannelManager

#9050 djs
This commit is contained in:
Elysia
2023-02-21 14:25:40 +07:00
parent fae7c596d1
commit 23d59d70ea
3 changed files with 24 additions and 0 deletions

5
typings/index.d.ts vendored
View File

@@ -3913,6 +3913,11 @@ export class GuildChannelManager extends CachedManager<Snowflake, GuildBasedChan
name: string,
options?: ChannelWebhookCreateOptions,
): 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(