From ed7f0cca2d8f51fa6ef82d003d413b6107eae826 Mon Sep 17 00:00:00 2001 From: WhatDidYouExpect <89535984+WhatDidYouExpect@users.noreply.github.com> Date: Sun, 6 Jul 2025 22:04:15 +0200 Subject: [PATCH] lastfm gets disabled if the env keys arent there --- assets/cogs/lastfm.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/cogs/lastfm.py b/assets/cogs/lastfm.py index 75ea984..822305a 100644 --- a/assets/cogs/lastfm.py +++ b/assets/cogs/lastfm.py @@ -78,6 +78,7 @@ class LastFmCog(commands.Cog): return None async def setup(bot): - if not LASTFM_API_KEY and LASTFM_USERNAME: + if not LASTFM_API_KEY or not LASTFM_USERNAME: return - await bot.add_cog(LastFmCog(bot)) + else: + await bot.add_cog(LastFmCog(bot))