pull/1/head
Matt Compton 3 years ago
parent 80611b5a9a
commit 45fed1c464

@ -39,7 +39,7 @@ async def on_ready():
chan = bot.get_channel(842491569176051712) chan = bot.get_channel(842491569176051712)
cogs_dir = "cogs" cogs_dir = "cogs"
for extension in [ for extension in [
f.replace(".py", "") for f in os.listdir(cogs_dir) if os.isfile(join(cogs_dir, f)) f.replace(".py", "") for f in os.listdir(cogs_dir) if os.path.isfile(join(cogs_dir, f))
]: ]:
try: try:
bot.load_extension(cogs_dir + "." + extension) bot.load_extension(cogs_dir + "." + extension)

Loading…
Cancel
Save