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

View File

@@ -10,6 +10,7 @@ const { Error } = require('../errors');
class NewsChannel extends BaseGuildTextChannel {
/**
* Adds the target to this channel's followers.
* <info>If you need the created webhook id, use {@link GuildChannelManager#addFollower}.</info>
* @param {TextChannelResolvable} channel The channel where the webhook should be created
* @param {string} [reason] Reason for creating the webhook
* @returns {Promise<NewsChannel>}