From 45fed1c46436cbc68fe4cb8b6b8ad8de757d16eb Mon Sep 17 00:00:00 2001 From: Matt Compton Date: Mon, 31 Jan 2022 16:30:08 +0000 Subject: [PATCH] os typo --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 52cbfdf..704f422 100644 --- a/bot.py +++ b/bot.py @@ -39,7 +39,7 @@ async def on_ready(): chan = bot.get_channel(842491569176051712) cogs_dir = "cogs" 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: bot.load_extension(cogs_dir + "." + extension)