Preparing search index...
The search index is not available
@aoijs/aoi.music
@aoijs/aoi.music
Manager
Class Manager
Hierarchy (
view full
)
TypedEmitter
<
ManagerEvents
>
Manager
AoiVoice
Index
Constructors
constructor
Properties
configs
platforms
players
plugins
spotify
Api
default
Max
Listeners
Methods
add
Listener
add
Plugin
emit
event
Names
get
Max
Listeners
join
Vc
leave
Vc
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
search
set
Max
Listeners
default
Config
Constructors
constructor
new
Manager
(
config
?
)
:
Manager
Parameters
Optional
config
:
ManagerConfigurations
Returns
Manager
Properties
configs
configs
:
ManagerConfigurations
platforms
platforms
:
{
soundcloud
:
SCDL
;
spotify
?:
Spotify
;
youtube
:
Promise
<
Innertube
>
;
}
players
players
:
Map
<
string
,
AudioPlayer
>
plugins
plugins
:
Map
<
PluginName
,
Plugin
<
PluginName
>
>
= ...
spotify
Api
spotify
Api
:
SpotifyWebApi
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
add
Listener
add
Listener
<
U
>
(
event
,
listener
)
:
this
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
listener
:
ManagerEvents
[
U
]
Returns
this
add
Plugin
add
Plugin
<
A
>
(
name
,
plugin
)
:
void
Type Parameters
A
extends
PluginName
Parameters
name
:
A
plugin
:
Plugin
<
A
>
Returns
void
emit
emit
<
U
>
(
event
,
...
args
)
:
boolean
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
Rest
...
args
:
Parameters
<
ManagerEvents
[
U
]
>
Returns
boolean
event
Names
event
Names
<
U
>
(
)
:
U
[]
Type Parameters
U
extends
keyof
ManagerEvents
Returns
U
[]
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
join
Vc
join
Vc
(
__namedParameters
)
:
Promise
<
boolean
>
Parameters
__namedParameters
:
{
adapter
?:
any
;
selfDeaf
?:
boolean
;
selfMute
?:
boolean
;
type
:
"default"
|
"fonly"
|
"bidirect"
;
voiceChannel
:
VoiceBasedChannel
;
}
Optional
adapter
?:
any
Optional
self
Deaf
?:
boolean
Optional
self
Mute
?:
boolean
type
:
"default"
|
"fonly"
|
"bidirect"
voice
Channel
:
VoiceBasedChannel
Returns
Promise
<
boolean
>
leave
Vc
leave
Vc
(
guildId
)
:
void
Parameters
guildId
:
string
Returns
void
listener
Count
listener
Count
(
type
)
:
number
Parameters
type
:
keyof
ManagerEvents
Returns
number
listeners
listeners
<
U
>
(
type
)
:
ManagerEvents
[
U
]
[]
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
type
:
U
Returns
ManagerEvents
[
U
]
[]
off
off
<
U
>
(
event
,
listener
)
:
this
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
listener
:
ManagerEvents
[
U
]
Returns
this
on
on
<
U
>
(
event
,
listener
)
:
this
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
listener
:
ManagerEvents
[
U
]
Returns
this
once
once
<
U
>
(
event
,
listener
)
:
this
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
listener
:
ManagerEvents
[
U
]
Returns
this
prepend
Listener
prepend
Listener
<
U
>
(
event
,
listener
)
:
this
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
listener
:
ManagerEvents
[
U
]
Returns
this
prepend
Once
Listener
prepend
Once
Listener
<
U
>
(
event
,
listener
)
:
this
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
listener
:
ManagerEvents
[
U
]
Returns
this
raw
Listeners
raw
Listeners
<
U
>
(
type
)
:
ManagerEvents
[
U
]
[]
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
type
:
U
Returns
ManagerEvents
[
U
]
[]
remove
All
Listeners
remove
All
Listeners
(
event
?
)
:
this
Parameters
Optional
event
:
keyof
ManagerEvents
Returns
this
remove
Listener
remove
Listener
<
U
>
(
event
,
listener
)
:
this
Type Parameters
U
extends
keyof
ManagerEvents
Parameters
event
:
U
listener
:
ManagerEvents
[
U
]
Returns
this
search
search
<
T
>
(
type
,
query
,
limit
?
)
:
Promise
<
any
>
Type Parameters
T
extends
PlatformType
Parameters
type
:
T
query
:
string
limit
:
number
= 1
Returns
Promise
<
any
>
set
Max
Listeners
set
Max
Listeners
(
n
)
:
this
Parameters
n
:
number
Returns
this
Static
default
Config
default
Config
(
)
:
ManagerConfigurations
Returns
ManagerConfigurations
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
configs
platforms
players
plugins
spotify
Api
default
Max
Listeners
Methods
add
Listener
add
Plugin
emit
event
Names
get
Max
Listeners
join
Vc
leave
Vc
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
search
set
Max
Listeners
default
Config
@aoijs/aoi.music
Loading...