[Audio] Lyrics typo - p.s It feels dirty making a PR this small (#3889)

This commit is contained in:
Draper 2020-05-30 14:39:50 +01:00 committed by GitHub
parent 4cf83b9ef4
commit f1ba57b78b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -732,14 +732,14 @@ class AudioSetCommands(MixinMeta, metaclass=CompositeMetaClass):
@command_audioset.command(name="lyrics") @command_audioset.command(name="lyrics")
@commands.guild_only() @commands.guild_only()
@commands.mod_or_permissions(administrator=True) @commands.mod_or_permissions(administrator=True)
async def command_audioset_lryics(self, ctx: commands.Context): async def command_audioset_lyrics(self, ctx: commands.Context):
"""Prioritise tracks with lyrics.""" """Prioritise tracks with lyrics."""
prefer_lyrics = await self.config.guild(ctx.guild).prefer_lyrics() prefer_lyrics = await self.config.guild(ctx.guild).prefer_lyrics()
await self.config.guild(ctx.guild).prefer_lyrics.set(not prefer_lyrics) await self.config.guild(ctx.guild).prefer_lyrics.set(not prefer_lyrics)
await self.send_embed_msg( await self.send_embed_msg(
ctx, ctx,
title=_("Setting Changed"), title=_("Setting Changed"),
description=_("Prefer tracks with lryics: {true_or_false}.").format( description=_("Prefer tracks with lyrics: {true_or_false}.").format(
true_or_false=_("Enabled") if not prefer_lyrics else _("Disabled") true_or_false=_("Enabled") if not prefer_lyrics else _("Disabled")
), ),
) )