Remove audio_url from logs
This commit is contained in:
parent
9ec6c2fa5e
commit
e82f8f6e80
|
@ -98,7 +98,7 @@ class Music(commands.Cog):
|
||||||
if err:
|
if err:
|
||||||
self.logger.error('Player error: %s', err)
|
self.logger.error('Player error: %s', err)
|
||||||
self._next()
|
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)
|
ctx.voice_client.play(audio, after=after)
|
||||||
embed = NowPlayingMessage(title=song.title, url=song.webpage_url)
|
embed = NowPlayingMessage(title=song.title, url=song.webpage_url)
|
||||||
msg = await ctx.send(embed=embed)
|
msg = await ctx.send(embed=embed)
|
||||||
|
@ -139,7 +139,7 @@ class Music(commands.Cog):
|
||||||
audio_url=data.get('url'),
|
audio_url=data.get('url'),
|
||||||
webpage_url=data.get('webpage_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))
|
await self._queue.put((ctx, song))
|
||||||
if ctx.voice_client.is_playing():
|
if ctx.voice_client.is_playing():
|
||||||
embed = QueuedMessage(title=song.title, url=song.webpage_url)
|
embed = QueuedMessage(title=song.title, url=song.webpage_url)
|
||||||
|
|
Loading…
Reference in New Issue