this is why you actually check diffs

This commit is contained in:
Slipstream 2025-05-08 00:09:16 -06:00
parent 659bdf5f94
commit 9004ce3311
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

4
bot.py
View File

@ -9,7 +9,7 @@ import functools
from discord import app_commands
# Load environment variables
load_dotenv()
load_dotenv("/home/server/keys.env")
discord_token = os.getenv("DISCORD_TOKEN")
# Ensure token is set
@ -74,7 +74,7 @@ def catch_exceptions(func):
# Load cog files dynamically
async def load_cogs():
for filename in os.listdir("cogs/"):
for filename in os.listdir("/home/server/wdiscordbotserver/cogs/"):
if filename.endswith(".py"):
try:
await bot.load_extension(f"cogs.{filename[:-3]}")