From efc899be715d4a4e32bf8bfa1e7e8efe197a9792 Mon Sep 17 00:00:00 2001 From: Rich Oberholtzer Date: Tue, 10 Dec 2019 22:06:01 -0500 Subject: [PATCH] reverting the if statement outside the while - this seemed to have been working --- r0b3bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r0b3bot.py b/r0b3bot.py index cc5d6e1..29d0756 100644 --- a/r0b3bot.py +++ b/r0b3bot.py @@ -437,7 +437,7 @@ async def updateStatus(): await asyncio.sleep(30) # Flash the status @ 100% before changing back to listening to your commands, only if uknowns !5. - if int(unknowns) != int(5): + if unknowns != 5: for x in range(20): activity = discord.Activity(name="-",type=discord.ActivityType.watching) await bot.change_presence(activity=activity)