fuckass path change

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

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("home/server/wdiscordbot/cogs/"):
for filename in os.listdir("home/server/wdiscordbotserver/cogs/"):
if filename.endswith(".py"):
try:
await bot.load_extension(f"cogs.{filename[:-3]}")