From 2c917f466ed0ac87430b6c16f4f588217655862e Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 28 Jul 2021 14:40:53 +0200 Subject: [PATCH] fix #5 --- src/cogs/music.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cogs/music.py b/src/cogs/music.py index d7a75cd..3dccf3e 100644 --- a/src/cogs/music.py +++ b/src/cogs/music.py @@ -550,4 +550,6 @@ class Music(commands.Cog): @commands.command(name='lyricsromanized', aliases = ['lr', 'lyricromanized'], hidden = True) async def _lyricsromanized(self, ctx, *, song: str = None): + if not song and ctx.voice_state.is_playing: + song = f"{ctx.voice_state.current.title()}" await ctx.invoke(self.client.get_command("lyrics"), song = f"{song} romanized" if song else song)