|
|
@ -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): |
|
|
|