Remove audio_url from logs

This commit is contained in:
ekzyis 2022-09-26 22:22:11 +02:00
parent 9ec6c2fa5e
commit e82f8f6e80
1 changed files with 2 additions and 2 deletions

View File

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