Preparing search index...
The search index is not available
discord-js-button-pagination-ts
discord-js-button-pagination-ts
<internal>
GuildChannelManager
Class GuildChannelManager
Hierarchy (
View Summary
)
CachedManager
<
Snowflake
,
GuildBasedChannel
,
GuildChannelResolvable
>
GuildChannelManager
Index
Properties
client
guild
holds
Accessors
cache
channel
Count
Without
Threads
Methods
add
Follower
create
create
Webhook
delete
edit
fetch
fetch
Active
Threads
fetch
Webhooks
resolve
resolve
Id
set
Position
set
Positions
value
Of
Properties
Readonly
client
client
:
Client
guild
guild
:
Guild
Readonly
holds
holds
:
Constructable
<
GuildBasedChannel
>
Accessors
cache
get
cache
()
:
Collection
<
Key
,
Holds
>
Returns
Collection
<
Key
,
Holds
>
channel
Count
Without
Threads
get
channelCountWithoutThreads
()
:
number
Returns
number
Methods
add
Follower
addFollower
(
channel
:
NewsChannelResolvable
,
targetChannel
:
TextChannelResolvable
,
reason
?:
string
,
)
:
Promise
<
string
>
Parameters
channel
:
NewsChannelResolvable
targetChannel
:
TextChannelResolvable
Optional
reason
:
string
Returns
Promise
<
string
>
create
create
<
Type
extends
GuildChannelTypes
>
(
options
:
GuildChannelCreateOptions
&
{
type
:
Type
}
,
)
:
Promise
<
MappedGuildChannelTypes
[
Type
]
>
Type Parameters
Type
extends
GuildChannelTypes
Parameters
options
:
GuildChannelCreateOptions
&
{
type
:
Type
}
Returns
Promise
<
MappedGuildChannelTypes
[
Type
]
>
create
(
options
:
GuildChannelCreateOptions
)
:
Promise
<
TextChannel
>
Parameters
options
:
GuildChannelCreateOptions
Returns
Promise
<
TextChannel
>
create
Webhook
createWebhook
(
options
:
WebhookCreateOptions
)
:
Promise
<
Webhook
<
Incoming
>
>
Parameters
options
:
WebhookCreateOptions
Returns
Promise
<
Webhook
<
Incoming
>
>
delete
delete
(
channel
:
GuildChannelResolvable
,
reason
?:
string
)
:
Promise
<
void
>
Parameters
channel
:
GuildChannelResolvable
Optional
reason
:
string
Returns
Promise
<
void
>
edit
edit
(
channel
:
GuildChannelResolvable
,
data
:
GuildChannelEditOptions
,
)
:
Promise
<
GuildChannel
>
Parameters
channel
:
GuildChannelResolvable
data
:
GuildChannelEditOptions
Returns
Promise
<
GuildChannel
>
fetch
fetch
(
id
:
string
,
options
?:
BaseFetchOptions
)
:
Promise
<
null
|
GuildBasedChannel
>
Parameters
id
:
string
Optional
options
:
BaseFetchOptions
Returns
Promise
<
null
|
GuildBasedChannel
>
fetch
(
id
?:
undefined
,
options
?:
BaseFetchOptions
,
)
:
Promise
<
Collection
<
string
,
null
|
NonThreadGuildBasedChannel
>
>
Parameters
Optional
id
:
undefined
Optional
options
:
BaseFetchOptions
Returns
Promise
<
Collection
<
string
,
null
|
NonThreadGuildBasedChannel
>
>
fetch
Active
Threads
fetchActiveThreads
(
cache
?:
boolean
)
:
Promise
<
FetchedThreads
>
Parameters
Optional
cache
:
boolean
Returns
Promise
<
FetchedThreads
>
fetch
Webhooks
fetchWebhooks
(
channel
:
GuildChannelResolvable
,
)
:
Promise
<
Collection
<
string
,
Webhook
<
Incoming
|
ChannelFollower
>
>
>
Parameters
channel
:
GuildChannelResolvable
Returns
Promise
<
Collection
<
string
,
Webhook
<
Incoming
|
ChannelFollower
>
>
>
resolve
resolve
(
resolvable
:
GuildBasedChannel
)
:
GuildBasedChannel
Parameters
resolvable
:
GuildBasedChannel
Returns
GuildBasedChannel
resolve
(
resolvable
:
GuildChannelResolvable
)
:
null
|
GuildBasedChannel
Parameters
resolvable
:
GuildChannelResolvable
Returns
null
|
GuildBasedChannel
resolve
Id
resolveId
(
resolvable
:
string
|
GuildBasedChannel
)
:
string
Parameters
resolvable
:
string
|
GuildBasedChannel
Returns
string
resolveId
(
resolvable
:
GuildChannelResolvable
)
:
null
|
string
Parameters
resolvable
:
GuildChannelResolvable
Returns
null
|
string
set
Position
setPosition
(
channel
:
GuildChannelResolvable
,
position
:
number
,
options
?:
SetChannelPositionOptions
,
)
:
Promise
<
GuildChannel
>
Parameters
channel
:
GuildChannelResolvable
position
:
number
Optional
options
:
SetChannelPositionOptions
Returns
Promise
<
GuildChannel
>
set
Positions
setPositions
(
channelPositions
:
readonly
ChannelPosition
[]
)
:
Promise
<
Guild
>
Parameters
channelPositions
:
readonly
ChannelPosition
[]
Returns
Promise
<
Guild
>
value
Of
valueOf
()
:
Collection
<
string
,
GuildBasedChannel
>
Returns the primitive value of the specified object.
Returns
Collection
<
string
,
GuildBasedChannel
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
client
guild
holds
Accessors
cache
channel
Count
Without
Threads
Methods
add
Follower
create
create
Webhook
delete
edit
fetch
fetch
Active
Threads
fetch
Webhooks
resolve
resolve
Id
set
Position
set
Positions
value
Of
discord-js-button-pagination-ts
Loading...
Returns the primitive value of the specified object.