Skip to content

Commit

Permalink
chore(instances.bot): make paths absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
kaeeraa committed Dec 12, 2024
1 parent 07ec1be commit 62d5947
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion instances/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
from dotenv import load_dotenv
from hikari import GatewayBot, Intents

from root import rootDir

from instances.log import logger

load_dotenv()
load_dotenv(f"{rootDir}/configuration/.env")

logger.trace("Initializing bot")
bot = GatewayBot(token=environ["BOT_TOKEN"], intents=Intents.ALL)
Expand Down

0 comments on commit 62d5947

Please sign in to comment.