Check if this works on linux

main
sgoudham 3 years ago
parent eebc109020
commit cc6c28647d
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -36,9 +36,9 @@ def main():
# Load cogs # Load cogs
logger.debug("Loading Cogs...") logger.debug("Loading Cogs...")
for folder in os.listdir("modules"): for folder in os.listdir("exclamation_mark_charity/modules"):
if os.path.exists(Path("modules", folder, "cog.py")): if os.path.exists(Path("exclamation_mark_charity/modules", folder, "cog.py")):
bot.load(f"modules.{folder}.cog") bot.load(f"exclamation_mark_charity/modules.{folder}.cog")
logger.debug(f"Cog '{folder}' Successfully Loaded!") logger.debug(f"Cog '{folder}' Successfully Loaded!")
logger.debug("All Cogs Loaded!") logger.debug("All Cogs Loaded!")

Loading…
Cancel
Save