oof async

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

@ -36,7 +36,7 @@ async def distrohop(ctx, *, count=None):
@bot.event @bot.event
async def on_ready(): async def on_ready():
chan = await 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.isfile(join(cogs_dir, f))

Loading…
Cancel
Save