mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Audio] Lyrics typo - p.s It feels dirty making a PR this small (#3889)
This commit is contained in:
parent
4cf83b9ef4
commit
f1ba57b78b
@ -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")
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user