diff --git a/src/bot.py b/src/bot.py index c2307e8..55f1002 100644 --- a/src/bot.py +++ b/src/bot.py @@ -98,7 +98,7 @@ class Music(commands.Cog): if err: self.logger.error('Player error: %s', err) self._next() - self.logger.info('Now playing song "%s"', song.title) + self.logger.info('Now playing: %s (%s)', song.title, song.webpage_url) ctx.voice_client.play(audio, after=after) embed = NowPlayingMessage(title=song.title, url=song.webpage_url) msg = await ctx.send(embed=embed) @@ -139,7 +139,7 @@ class Music(commands.Cog): audio_url=data.get('url'), webpage_url=data.get('webpage_url') ) - self.logger.info('Qeueing song: title="%s", audio_url=%s, webpage_url=%s', song.title, song.audio_url, song.webpage_url) + self.logger.info('Qeueing song: %s (%s)', song.title, song.webpage_url) await self._queue.put((ctx, song)) if ctx.voice_client.is_playing(): embed = QueuedMessage(title=song.title, url=song.webpage_url)