diff --git a/sausage_bot/util/cogs.py b/sausage_bot/util/cogs.py index 9a56926..8b84eff 100755 --- a/sausage_bot/util/cogs.py +++ b/sausage_bot/util/cogs.py @@ -140,7 +140,6 @@ async def load_and_clean_cogs(): ) to_be_removed = [] for cog_name in [name[0] for name in already_registered_cogs]: - log.debug(f'`cog_name` is {cog_name}') if cog_name not in filelist: log.log(f'Removing `{cog_name}`') to_be_removed.append(('cog_name', cog_name)) diff --git a/sausage_bot/util/config.py b/sausage_bot/util/config.py index 081496c..5b91fae 100755 --- a/sausage_bot/util/config.py +++ b/sausage_bot/util/config.py @@ -35,10 +35,9 @@ def config(): try: BOT_ID = env('BOT_ID') -except EnvError: +except EnvError as e: + print('Error: {e}') print('You need to set `BOT_ID` in .env for this to work') - sys.exit() - try: intents = discord.Intents.all()