From a522a9090007b3c1cd0d81f8cfe2a144634ada54 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 17 Jul 2017 08:08:35 -0700 Subject: [PATCH] [examples] use queue.append instead of queue.put --- examples/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/music.py b/examples/music.py index 2c376c3..55d72d1 100644 --- a/examples/music.py +++ b/examples/music.py @@ -41,7 +41,7 @@ class MusicPlugin(Plugin): @Plugin.command('play', '') def on_play(self, event, url): item = YoutubeDLInput(url).pipe(BufferedOpusEncoderPlayable) - self.get_player(event.guild.id).queue.put(item) + self.get_player(event.guild.id).queue.append(item) @Plugin.command('pause') def on_pause(self, event):