fix #5
This commit is contained in:
parent
ebfb34d499
commit
2c917f466e
1 changed files with 2 additions and 0 deletions
|
@ -550,4 +550,6 @@ class Music(commands.Cog):
|
||||||
|
|
||||||
@commands.command(name='lyricsromanized', aliases = ['lr', 'lyricromanized'], hidden = True)
|
@commands.command(name='lyricsromanized', aliases = ['lr', 'lyricromanized'], hidden = True)
|
||||||
async def _lyricsromanized(self, ctx, *, song: str = None):
|
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)
|
await ctx.invoke(self.client.get_command("lyrics"), song = f"{song} romanized" if song else song)
|
||||||
|
|
Reference in a new issue