Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
[examples] use queue.append instead of queue.put
Browse files Browse the repository at this point in the history
  • Loading branch information
b1naryth1ef committed Jul 17, 2017
1 parent 667eb1b commit a522a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/music.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def on_leave(self, event):
@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):
Expand Down

0 comments on commit a522a90

Please sign in to comment.