-
Notifications
You must be signed in to change notification settings - Fork 49
DJManager
The DJManager is a class that let you create DJs. You can have multiple DJs in a single DJManager if the voice channels are in different servers
The constructor of the DJManager class
-
data
A Discordie bot instance or an object with-
email
The email of the Discord account -
password
The password of the Discord account -
token
The token of the Discord account. If set,email
andpassword
are not required
-
Planned: Accept discord.js and discord.io bot instances
Creates a new DJ. Returns a Promise with the DJ instance or an error
-
voiceChannel
The ID or name of the voice channel -
type
Can be set for any other class that extendsDJ
. Optional
Planned: Accept Discordie, discord.js and discord.io voice channel instances
Sets a global Youtube API key, it will be used for every bot created by this manager. This is only required if you want to use Youtube Playlists
-
key
The public key
Note that you have to set it before creating the DJs
Sets a global Soundcloud API key, it will be used for every bot created by this manager. This is only required if you want to use Soundcloud Playlists or play Soundcloud tracks
-
key
The public key
Note that you have to set it before creating the DJs