From 805d5004bdd074fc6d716e872f75bef2bce9267d Mon Sep 17 00:00:00 2001 From: Zalk0 <88582103+zalk0@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:19:04 +0100 Subject: [PATCH] fix: use getenv --- utils/skyblock_guild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/skyblock_guild.py b/utils/skyblock_guild.py index a47b299..4502fe4 100644 --- a/utils/skyblock_guild.py +++ b/utils/skyblock_guild.py @@ -1,8 +1,8 @@ import aiohttp -from dotenv import dotenv_values +from os import getenv api_hypixel = "https://api.hypixel.net/" -token_hypixel = dotenv_values()["HYPIXEL_KEY"] +token_hypixel = getenv("HYPIXEL_KEY") async def fetch(session, url, params=None):