[RndStatus] Let's see if this is a thing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user