Search
Preparing search index...
The search index is not available
discordbot
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
discordbot
plugins/voiceScaling
default
Class default
Hierarchy
Plugin
<
{}
>
default
Index
Constructors
constructor
Properties
config
context
default
Config
Methods
clear
Handlers
declare
Handler
extract
find
Duplicate
Channels
get
Duplicate
ChannelIDs
inject
new
Name
From
Existing
update
Channels
new
Index
Constructors
constructor
new default
(
context
:
DiscordBot
, _config
?:
{}
)
:
default
Parameters
context:
DiscordBot
Optional
_config:
{}
Returns
default
Properties
Protected
config
config
:
{}
Type declaration
Protected
context
context
:
DiscordBot
Static
default
Config
default
Config
:
any
Methods
clear
Handlers
clear
Handlers
(
)
:
void
Returns
void
declare
Handler
declare
Handler
(
name
:
string
, handler
:
(
event
:
CommunicationEvent
)
=>
void
)
:
void
Parameters
name:
string
handler:
(
event
:
CommunicationEvent
)
=>
void
(
event
:
CommunicationEvent
)
:
void
Parameters
event:
CommunicationEvent
Returns
void
Returns
void
extract
extract
(
)
:
void
Returns
void
find
Duplicate
Channels
find
Duplicate
Channels
(
channel
:
GuildChannel
)
:
Collection
<
string
,
GuildChannel
>
Parameters
channel:
GuildChannel
Returns
Collection
<
string
,
GuildChannel
>
get
Duplicate
ChannelIDs
get
Duplicate
ChannelIDs
(
channel
:
VoiceChannel
)
:
number
[]
Parameters
channel:
VoiceChannel
Returns
number
[]
inject
inject
(
)
:
void
Returns
void
new
Name
From
Existing
new
Name
From
Existing
(
channel
:
VoiceChannel
)
:
string
Parameters
channel:
VoiceChannel
Returns
string
update
Channels
update
Channels
(
oldVoiceState
:
VoiceState
, newVoiceState
:
VoiceState
)
:
void
Parameters
oldVoiceState:
VoiceState
newVoiceState:
VoiceState
Returns
void
Static
new
Index
new
Index
(
primaryKeys
:
number
[]
)
:
number
Parameters
primaryKeys:
number
[]
Returns
number
Exports
plugins/voice
Scaling
default
constructor
config
context
default
Config
clear
Handlers
declare
Handler
extract
find
Duplicate
Channels
get
Duplicate
ChannelIDs
inject
new
Name
From
Existing
update
Channels
new
Index
Generated using
TypeDoc