Search
Preparing search index...
The search index is not available
不和 (Fuwa)
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
不和 (Fuwa)
GuildChannelManager
Class GuildChannelManager
Hierarchy
ChannelManager
<
GuildChannels
>
GuildChannelManager
Index
Constructors
constructor
Properties
__class
cache
client
guild
Accessors
size
Methods
add
add
Many
create
createDM
delete
dm
Channel
fetch
get
map
remove
remove
Many
resolve
update
Constructors
constructor
new
Guild
Channel
Manager
(
guild
:
Guild
)
:
GuildChannelManager
Parameters
guild:
Guild
Returns
GuildChannelManager
Properties
__class
__class
:
any
cache
cache
:
Map
<
string
,
GuildChannels
>
= ...
client
client
:
Client
guild
guild
:
Guild
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
add
add
(
data
:
GuildChannels
)
:
GuildChannels
Parameters
data:
GuildChannels
Returns
GuildChannels
add
Many
add
Many
(
data
:
GuildChannels
[]
)
:
GuildChannels
[]
Parameters
data:
GuildChannels
[]
Returns
GuildChannels
[]
create
create
(
options
:
CreateGuildChannelOptions
)
:
Promise
<
GuildChannels
>
create
(
name
:
string
, type
:
GuildChannelType
)
:
Promise
<
GuildChannels
>
Parameters
options:
CreateGuildChannelOptions
Returns
Promise
<
GuildChannels
>
Parameters
name:
string
type:
GuildChannelType
Returns
Promise
<
GuildChannels
>
createDM
createDM
(
user
:
string
, cache
?:
boolean
)
:
Promise
<
DMChannel
>
Parameters
user:
string
cache:
boolean
= false
Returns
Promise
<
DMChannel
>
delete
delete
(
id
:
string
, reason
?:
string
)
:
Promise
<
void
>
Parameters
id:
string
Optional
reason:
string
Returns
Promise
<
void
>
dm
Channel
dm
Channel
(
id
:
string
)
:
null
|
DMChannel
Parameters
id:
string
Returns
null
|
DMChannel
fetch
fetch
(
id
:
string
, cache
?:
boolean
)
:
Promise
<
GuildChannels
>
Parameters
id:
string
cache:
boolean
= false
Returns
Promise
<
GuildChannels
>
get
get
(
id
:
string
)
:
undefined
|
GuildChannels
Parameters
id:
string
Returns
undefined
|
GuildChannels
map
map
(
fn
:
(
data
:
GuildChannels
, key
:
string
, cache
:
Map
<
string
,
GuildChannels
>
)
=>
any
)
:
any
[]
Parameters
fn:
(
data
:
GuildChannels
, key
:
string
, cache
:
Map
<
string
,
GuildChannels
>
)
=>
any
(
data
:
GuildChannels
, key
:
string
, cache
:
Map
<
string
,
GuildChannels
>
)
:
any
Parameters
data:
GuildChannels
key:
string
cache:
Map
<
string
,
GuildChannels
>
Returns
any
Returns
any
[]
remove
remove
(
id
:
string
)
:
void
Parameters
id:
string
Returns
void
remove
Many
remove
Many
(
ids
:
string
[]
)
:
void
Parameters
ids:
string
[]
Returns
void
resolve
resolve
(
data
:
any
)
:
undefined
|
GuildChannels
Parameters
data:
any
Returns
undefined
|
GuildChannels
update
update
(
data
:
GuildChannels
)
:
GuildChannels
Parameters
data:
GuildChannels
Returns
GuildChannels
Exports
Internals
Tokens
Externals
Types
Guild
Channel
Manager
constructor
__class
cache
client
guild
size
add
add
Many
create
createDM
delete
dm
Channel
fetch
get
map
remove
remove
Many
resolve
update
Generated using
TypeDoc