mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-08 13:34:32 +12:00
fix slight oversight on manual thread rotation
This commit is contained in:
parent
27db92ea4a
commit
275be2dbc0
|
@ -64,7 +64,7 @@ class ThreadRotate(commands.Cog):
|
||||||
topic_threads = await self.config.channel(channel).topic_threads()
|
topic_threads = await self.config.channel(channel).topic_threads()
|
||||||
ping_roles = await self.config.channel(channel).ping_roles()
|
ping_roles = await self.config.channel(channel).ping_roles()
|
||||||
rotation = timedelta(seconds=await self.config.channel(channel).rotation_interval())
|
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()
|
last_topic = await self.config.channel(channel).last_topic()
|
||||||
|
|
||||||
# choose new topic
|
# choose new topic
|
||||||
|
|
Loading…
Reference in a new issue