there is, infact a reason for the path for the internal sercer

This commit is contained in:
ザカリアス・ウィリアム・ポージー 2025-05-07 22:00:06 +09:00
parent 104fdd88a4
commit 73a67fef58

2
bot.py
View File

@ -21,7 +21,7 @@ bot = commands.Bot(command_prefix="/", intents=intents)
# Load cog files dynamically
async def load_cogs():
for filename in os.listdir("./cogs"):
for filename in os.listdir("home/server/wdiscordbot/cogs/"):
if filename.endswith(".py"):
try:
await bot.load_extension(f"cogs.{filename[:-3]}")