Remove development dotenv loading
This commit is contained in:
parent
d7e49777ef
commit
aaf2d58d86
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue