if theres no lastFM api keys or whatever just dont add it
This commit is contained in:
parent
b07d0ac669
commit
5e8cbb171d
1 changed files with 2 additions and 0 deletions
|
@ -78,4 +78,6 @@ class LastFmCog(commands.Cog):
|
|||
return None
|
||||
|
||||
async def setup(bot):
|
||||
if not LASTFM_API_KEY and LASTFM_USERNAME:
|
||||
return
|
||||
await bot.add_cog(LastFmCog(bot))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue