From f42304a8e6e6c34db8bd61703479127b9c62f02e Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Fri, 24 Jul 2020 09:38:34 -0700 Subject: [PATCH] [RndStatus] Let's see if this is a thing --- rndstatus/rndstatus.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rndstatus/rndstatus.py b/rndstatus/rndstatus.py index b826805..6b21e96 100644 --- a/rndstatus/rndstatus.py +++ b/rndstatus/rndstatus.py @@ -29,7 +29,7 @@ class RndStatus(commands.Cog): default_global = { "botstats": False, - "delay": "300", + "delay": 300, "statuses": [ "her Turn()", "Tomb Raider II", @@ -184,7 +184,7 @@ class RndStatus(commands.Cog): break except Exception as e: log.exception(e, exc_info=e) - await asyncio.sleep(delay) + await asyncio.sleep(int(delay)) def random_status(self, guild, statuses): @@ -203,4 +203,4 @@ class RndStatus(commands.Cog): new = statuses[0] else: new = None - return new \ No newline at end of file + return new