From b5265d213064fedf9728772d936ae0f4855f8984 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Thu, 23 Jul 2020 14:09:20 +0200 Subject: [PATCH] :pencil: Fix event messages example Closes #54 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8c6791..0f2f35a 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ You need to **init the guild queue using the play() function**, then you are abl await client.player.play(message.member.voice.channel, "Despacito") // Then add some messages that will be sent when the events will be triggered -client.player.getQueue(guildID) +client.player.getQueue(message.guild.id) .on('end', () => { message.channel.send('There is no more music in the queue!'); })