From 1496258e54c98bba456fc6ab6bb11c419b498165 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 18 Nov 2018 17:55:00 +0100 Subject: [PATCH] Int, not str --- discordbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discordbot.py b/discordbot.py index fd5869ba..ef147ea0 100644 --- a/discordbot.py +++ b/discordbot.py @@ -635,7 +635,7 @@ class RoyalDiscordBot(discord.Client): async def activity_task(self): await self.wait_until_ready() - time_to_wait = config["Discord"]["activityreport_sample_time"] + time_to_wait = int(config["Discord"]["activityreport_sample_time"]) while True: await self.create_activityreport() logger.debug(f"Waiting {time_to_wait} seconds before the next record.")