initial commit

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
AeruandCopilot committed 2026-10-26 02:21:57 +01:00
commit c22dade3d5
21 files changed
+564

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
from pathlib import Path
ROOT=Path(__file__).resolve().parent.parent
async def load_all(bot):
for d in ("cmds","events"):
for f in sorted((ROOT/d).glob("*.py")):
if f.name.startswith("_"):continue
try:await bot.load_extension(f"{d}.{f.stem}")
except Exception as e:bot.hook.put(f"module load failed: {d}.{f.stem}: {e!r}")