diff --git a/docs/Player.html b/docs/Player.html index 50f5563..41b6a4d 100644 --- a/docs/Player.html +++ b/docs/Player.html @@ -2042,7 +2042,7 @@ -
guildID
string
+
+
+
+ enabled
client.player.getQueue(guildID)
@@ -338,7 +338,7 @@ client.player.setRepeatMode(false);
Repeat
To repeat the current song, use the client.player.setRepeatMode()
function.
Usage:
-client.player.setRepeatMode(boolean);
+client.player.setRepeatMode(guildID, boolean);
Example:
client.on('message', async (message) => {
@@ -348,7 +348,7 @@ client.player.setRepeatMode(false);
if(command === 'enable-repeat'){
// Enable repeat mode
- client.player.setRepeatMode(true);
+ client.player.setRepeatMode(message.guild.id, true);
// Get the current song
let song = await client.player.nowPlaying(message.guild.id);
message.channel.send(`${song.name} will be repeated indefinitely!`);
@@ -356,7 +356,7 @@ client.player.setRepeatMode(false);
if(command === 'disable-repeat'){
// Disable repeat mode
- client.player.setRepeatMode(false);
+ client.player.setRepeatMode(message.guild.id, false);
// Get the current song
let song = await client.player.nowPlaying(message.guild.id);
message.channel.send(`${song.name} will no longer be repeated indefinitely!`);