From 9a039e98d7d848fa7612b27761427e2ac890276c Mon Sep 17 00:00:00 2001 From: 7trail <72806227+7trail@users.noreply.github.com> Date: Mon, 28 Aug 2023 19:54:34 -0500 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index bfe9829..9971b82 100644 --- a/main.py +++ b/main.py @@ -105,7 +105,7 @@ intervals = 0 alreadyGenerating = False async def AddAutoGen(amount): - if amount > 10 or !autogen: + if amount > 10 or not autogen: return for i in range(amount): v = random.choice([0,1,2,3 ]) @@ -177,5 +177,5 @@ async def on_ready(): keep_alive() -my_secret = os.environ['discordbot'] +my_secret = os.environ['DISCORDBOT'] client.run(my_secret)