Closed cool-aid-man closed 1 year ago
Hi, sorry about that.
Can you confirm if SmartLyrics v2.1.4 fixes this issue?
Hii
Actually it triggered the nonetype config
error, after updating yes
Exception in command 'lyrics'
Traceback (most recent call last):
File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/home/ubuntu/.local/share/Red-DiscordBot/data/dusky/cogs/CogManager/cogs/smartlyrics/smartlyrics.py", line 186, in lyrics
lastfm_username = await lastfm_cog.config.user(ctx.author).lastfm_username()
AttributeError: 'NoneType' object has no attribute 'config'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/home/ubuntu/redenv/lib/python3.9/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'config'
God I did a horrible job testing this cog, try v2.1.5
No worries Always happy to help!
And yes it did fix the issue.
Thanks rayan Have a great night:)
Perfect! Thanks, you too :)
Hey Rayan,
Getting this error from
<p>lyrics
command. Cog:SmartLyrics
Thanks