From 898e9c2f14d7bd15f909336a60cb2c20ab44818d Mon Sep 17 00:00:00 2001 From: georgeamccarthy <> Date: Fri, 11 Jun 2021 11:48:37 +0000 Subject: [PATCH] Correct token code. Still not working, likely a server bug. --- mentalHealthBot.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mentalHealthBot.py b/mentalHealthBot.py index cdd876b..f45b8b3 100644 --- a/mentalHealthBot.py +++ b/mentalHealthBot.py @@ -15,9 +15,14 @@ import random from keepalive import keepalive +""" +# DEBUG +for key in os.environ: + print (key) +""" + # enter token for the server -TOKEN = os.getenv('DISCORD_TOKEN') -# enter application id +TOKEN = os.environ['DISCORD_TOKEN'] # client = commands.Bot(command_prefix='.')