aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/fun/off_topic_names.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/off_topic_names.py b/bot/exts/fun/off_topic_names.py
index 35cc3dcb5..b8206dab4 100644
--- a/bot/exts/fun/off_topic_names.py
+++ b/bot/exts/fun/off_topic_names.py
@@ -1,5 +1,5 @@
+import datetime
import difflib
-from datetime import time
from botcore.site_api import ResponseCodeError
from discord import Colour, Embed
@@ -35,7 +35,7 @@ class OffTopicNames(Cog):
self.update_names.clear_exception_types()
self.update_names.stop()
- @tasks.loop(time=time(), reconnect=True)
+ @tasks.loop(time=datetime.time(), reconnect=True)
async def update_names(self) -> None:
"""Background updater task that performs the daily channel name update."""
await self.bot.wait_until_guild_available()