Browse Source

[examples] use queue.append instead of queue.put

pull/46/head
Andrei 8 years ago
parent
commit
a522a90900
  1. 2
      examples/music.py

2
examples/music.py

@ -41,7 +41,7 @@ class MusicPlugin(Plugin):
@Plugin.command('play', '<url:str>')
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):

Loading…
Cancel
Save