Remove development dotenv loading
This commit is contained in:
parent
91e18c60e6
commit
e34d281774
|
@ -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