This commit is contained in:
Uwe Pfeifer 2022-09-03 08:51:28 +02:00
parent 0a0a5bd88d
commit d3292efa09

View file

@ -78,6 +78,7 @@ async def sync(ctx: commands.Context, guilds: commands.Greedy[discord.Object], s
await ctx.send(f"Synced the tree to {fmt}/{len(guilds)} guilds.")
# loading extensions ...
async def scanext():
with os.scandir('./ext/') as dirs:
for entry in dirs: