[RndStatus] Let's see if this is a thing

This commit is contained in:
aikaterna
2020-07-24 09:38:34 -07:00
committed by GitHub
parent e733b05c26
commit f42304a8e6

View File

@@ -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
return new