diff options
Diffstat (limited to 'bot/exts/events')
| -rw-r--r-- | bot/exts/events/hacktoberfest/hacktoberstats.py | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/exts/events/hacktoberfest/hacktoberstats.py b/bot/exts/events/hacktoberfest/hacktoberstats.py index 0b4266d8..5bfac93f 100644 --- a/bot/exts/events/hacktoberfest/hacktoberstats.py +++ b/bot/exts/events/hacktoberfest/hacktoberstats.py @@ -434,4 +434,6 @@ class HacktoberStats(commands.Cog):  async def setup(bot: Bot) -> None:      """Load the Hacktober Stats Cog.""" +    if not Tokens.github: +        log.warning("No GitHub token was provided. The HacktoberStats Cog won't be fully functional.")      await bot.add_cog(HacktoberStats(bot))  |