Skip to content

Commit

Permalink
More minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Jan 9, 2024
1 parent a9dddac commit 36c01bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion sausage_bot/util/cogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
5 changes: 2 additions & 3 deletions sausage_bot/util/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 36c01bd

Please sign in to comment.