mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
Int, not str
This commit is contained in:
parent
d98cd5966b
commit
1496258e54
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ class RoyalDiscordBot(discord.Client):
|
||||||
|
|
||||||
async def activity_task(self):
|
async def activity_task(self):
|
||||||
await self.wait_until_ready()
|
await self.wait_until_ready()
|
||||||
time_to_wait = config["Discord"]["activityreport_sample_time"]
|
time_to_wait = int(config["Discord"]["activityreport_sample_time"])
|
||||||
while True:
|
while True:
|
||||||
await self.create_activityreport()
|
await self.create_activityreport()
|
||||||
logger.debug(f"Waiting {time_to_wait} seconds before the next record.")
|
logger.debug(f"Waiting {time_to_wait} seconds before the next record.")
|
||||||
|
|
Loading…
Reference in a new issue