From 275be2dbc0e241516832da62415bfe373434b82f Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 8 Nov 2022 14:13:29 -0500 Subject: [PATCH] fix slight oversight on manual thread rotation --- threadrotate/thread_rotate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threadrotate/thread_rotate.py b/threadrotate/thread_rotate.py index 7f4c946..e115e4e 100644 --- a/threadrotate/thread_rotate.py +++ b/threadrotate/thread_rotate.py @@ -64,7 +64,7 @@ class ThreadRotate(commands.Cog): topic_threads = await self.config.channel(channel).topic_threads() ping_roles = await self.config.channel(channel).ping_roles() rotation = timedelta(seconds=await self.config.channel(channel).rotation_interval()) - rotate_on = datetime.fromtimestamp(await self.config.channel(channel).rotate_on()) + rotate_on = datetime.now() last_topic = await self.config.channel(channel).last_topic() # choose new topic