mirror of
https://github.com/UiO-Gaming/ShiteMusicBot.git
synced 2026-11-05 13:56:51 +01:00
use correct error message - missing key for lyrics
This commit is contained in:
1 parent
ace239ad1a
commit
76128814c0
1 file changed
+1
-1
@@ -637,7 +637,7 @@ class Music(commands.Cog):
|
||||
""" Search for lyrics of a song """
|
||||
# Check for API key
|
||||
if not (genius_access_token := self.bot.APIkeys.get('genius')):
|
||||
return await ctx.send(ctx.localizer.format_str('{history.title}'))
|
||||
return await ctx.send(ctx.localizer.format_str('{errors.missing_api_key}'))
|
||||
|
||||
# Extract all arguments into a single string
|
||||
query = ' '.join(query)
|
||||
|
||||
Reference in new issue
Block a user