Closed dashwav closed 4 years ago
run.py will be cleaned by me.
tbh, I think it could be handled more pythonically. Like just importing the cog module and looping through it or listing out all the cogs and then looping through. Will cut back on some of the repetitive nature. Something like this
initial_extensions = ['owner',
'general',
'moderation',
'administration',
'blacklist',
'logging']
for cog in initial_extensions:
bot.load_extension('cog.' + cog)
The list of extensions to load could be in config.yml
, which might be better than hard-coding them.
This is unironically something that always bothers me