Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
VoiceChannel
Class VoiceChannel
Hierarchy
GuildChannel
VoiceChannel
Implements
Invitable
Index
Constructors
constructor
Properties
bitrate
client
created
At
guild
id
mention
name
nsfw
parentID
permission
Overwrites
position
type
user
Limit
voice
Members
Methods
create
Invite
delete
delete
Permission
edit
edit
Permission
edit
Position
get
Invites
inspect
join
leave
permissions
Of
toJSON
from
Constructors
constructor
new
Voice
Channel
(
data
:
BaseData
, guild
:
Guild
)
:
VoiceChannel
Parameters
data:
BaseData
guild:
Guild
Returns
VoiceChannel
Properties
Optional
bitrate
bitrate
:
undefined
|
number
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
:
2
Optional
user
Limit
user
Limit
:
undefined
|
number
voice
Members
voice
Members
:
Collection
<
Member
>
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
<
VoiceChannel
>
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
<
VoiceChannel
>
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
(
)
:
VoiceChannel
Returns
VoiceChannel
join
join
(
options
:
VoiceResourceOptions
)
:
Promise
<
VoiceConnection
>
Parameters
options:
VoiceResourceOptions
Returns
Promise
<
VoiceConnection
>
leave
leave
(
)
:
void
Returns
void
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
Voice
Channel
constructor
bitrate
client
created
At
guild
id
mention
name
nsfw
parentID
permission
Overwrites
position
type
user
Limit
voice
Members
create
Invite
delete
delete
Permission
edit
edit
Permission
edit
Position
get
Invites
inspect
join
leave
permissions
Of
toJSON
from
Generated using
TypeDoc