Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
GuildChannel
Class GuildChannel
Hierarchy
Channel
GuildChannel
CategoryChannel
StoreChannel
TextChannel
VoiceChannel
Index
Constructors
constructor
Properties
client
created
At
guild
id
mention
name
nsfw
parentID
permission
Overwrites
position
type
Methods
create
Invite
delete
delete
Permission
edit
edit
Permission
edit
Position
get
Invites
inspect
permissions
Of
toJSON
from
Constructors
constructor
new
Guild
Channel
(
data
:
BaseData
, guild
:
Guild
)
:
GuildChannel
Parameters
data:
BaseData
guild:
Guild
Returns
GuildChannel
Properties
client
client
:
Client
created
At
created
At
:
number
guild
guild
:
Guild
id
id
:
string
mention
mention
:
string
name
name
:
string
nsfw
nsfw
:
boolean
Optional
parentID
parentID
:
undefined
|
string
permission
Overwrites
permission
Overwrites
:
Collection
<
PermissionOverwrite
>
position
position
:
number
type
type
:
0
|
2
|
4
|
5
|
6
Methods
create
Invite
create
Invite
(
options
?:
CreateInviteOptions
, reason
?:
string
)
:
Promise
<
ChannelInvite
>
Parameters
Optional
options:
CreateInviteOptions
Optional
reason:
string
Returns
Promise
<
ChannelInvite
>
delete
delete
(
reason
?:
string
)
:
Promise
<
void
>
Parameters
Optional
reason:
string
Returns
Promise
<
void
>
delete
Permission
delete
Permission
(
overwriteID
:
string
, reason
?:
string
)
:
Promise
<
void
>
Parameters
overwriteID:
string
Optional
reason:
string
Returns
Promise
<
void
>
edit
edit
(
options
:
{
bitrate
?:
undefined
|
number
;
name
?:
undefined
|
string
;
nsfw
?:
undefined
|
boolean
;
parentID
?:
undefined
|
string
;
rateLimitPerUser
?:
undefined
|
number
;
topic
?:
undefined
|
string
;
userLimit
?:
undefined
|
number
}
, reason
?:
string
)
:
Promise
<
GuildChannel
>
Parameters
options:
{
bitrate
?:
undefined
|
number
;
name
?:
undefined
|
string
;
nsfw
?:
undefined
|
boolean
;
parentID
?:
undefined
|
string
;
rateLimitPerUser
?:
undefined
|
number
;
topic
?:
undefined
|
string
;
userLimit
?:
undefined
|
number
}
Optional
bitrate
?:
undefined
|
number
Optional
name
?:
undefined
|
string
Optional
nsfw
?:
undefined
|
boolean
Optional
parentID
?:
undefined
|
string
Optional
rate
Limit
Per
User
?:
undefined
|
number
Optional
topic
?:
undefined
|
string
Optional
user
Limit
?:
undefined
|
number
Optional
reason:
string
Returns
Promise
<
GuildChannel
>
edit
Permission
edit
Permission
(
overwriteID
:
string
, allow
:
number
, deny
:
number
, type
:
"role"
|
"member"
, reason
?:
string
)
:
Promise
<
PermissionOverwrite
>
Parameters
overwriteID:
string
allow:
number
deny:
number
type:
"role"
|
"member"
Optional
reason:
string
Returns
Promise
<
PermissionOverwrite
>
edit
Position
edit
Position
(
position
:
number
)
:
Promise
<
void
>
Parameters
position:
number
Returns
Promise
<
void
>
get
Invites
get
Invites
(
)
:
Promise
<
ChannelInvite
[]
>
Returns
Promise
<
ChannelInvite
[]
>
inspect
inspect
(
)
:
GuildChannel
Returns
GuildChannel
permissions
Of
permissions
Of
(
memberID
:
string
)
:
Permission
Parameters
memberID:
string
Returns
Permission
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
Static
from
from
(
data
:
object
, client
:
Client
)
:
AnyChannel
Parameters
data:
object
client:
Client
Returns
AnyChannel
Exports
Externals
Eris
Guild
Channel
constructor
client
created
At
guild
id
mention
name
nsfw
parentID
permission
Overwrites
position
type
create
Invite
delete
delete
Permission
edit
edit
Permission
edit
Position
get
Invites
inspect
permissions
Of
toJSON
from
Generated using
TypeDoc