Remove development dotenv loading

This commit is contained in:
2022-09-05 07:20:30 +01:00
parent 91e18c60e6
commit e34d281774

View File

@@ -6,11 +6,11 @@ from sources.ch4 import Chan4
from sources.dis import DiscordClient
# For development
if not getenv("DISCORD_TOKEN", None):
print("Could not get Discord token, attempting load from .env")
from dotenv import load_dotenv
# if not getenv("DISCORD_TOKEN", None):
# print("Could not get Discord token, attempting load from .env")
# from dotenv import load_dotenv
load_dotenv()
# load_dotenv()
log = util.get_logger("monolith")