Search
Preparing search index...
The search index is not available
Avocord
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Avocord
BaseGuildChannel
Class BaseGuildChannel<T>
Type Parameters
T
extends
APINewsChannel
|
APITextChannel
|
APIVoiceChannel
|
APIThreadChannel
|
APIGuildCategoryChannel
Hierarchy
BaseGuildChannel
TextableChannel
CategoryChannel
ThreadChannel
VoiceChannel
NewsChannel
Index
Constructors
constructor
Properties
client
data
guild
Accessors
guild
Id
id
name
type
Methods
delete
edit
Constructors
constructor
new
Base
Guild
Channel
<
T
>
(
client
:
Client
, data
:
T
, guild
:
Guild
)
:
BaseGuildChannel
<
T
>
Type Parameters
T
extends
APITextChannel
|
APINewsChannel
|
APIVoiceChannel
|
APIGuildCategoryChannel
|
APIThreadChannel
Parameters
client:
Client
data:
T
guild:
Guild
Returns
BaseGuildChannel
<
T
>
Properties
client
client
:
Client
data
data
:
T
guild
guild
:
Guild
Accessors
guild
Id
get
guildId
(
)
:
string
Returns
string
id
get
id
(
)
:
string
Returns
string
name
get
name
(
)
:
string
Returns
string
type
get
type
(
)
:
GuildText
|
GuildVoice
|
GuildCategory
|
GuildNews
|
GuildNewsThread
|
GuildPublicThread
|
GuildPrivateThread
|
GuildStageVoice
Returns
GuildText
|
GuildVoice
|
GuildCategory
|
GuildNews
|
GuildNewsThread
|
GuildPublicThread
|
GuildPrivateThread
|
GuildStageVoice
Methods
delete
delete
(
reason
?:
string
)
:
Promise
<
<internal>
.
Channel
>
Parameters
Optional
reason:
string
Returns
Promise
<
<internal>
.
Channel
>
edit
edit
(
data
:
<internal>
.
EditChannelData
)
:
Promise
<
<internal>
.
Channel
>
Parameters
data:
<internal>
.
EditChannelData
Returns
Promise
<
<internal>
.
Channel
>
Exports
<internal>
Base
Guild
Channel
constructor
client
data
guild
guild
Id
id
name
type
delete
edit
Generated using
TypeDoc