diff --git a/bot/task_handlers.py b/bot/task_handlers.py index 04fd1d9a..1434d17c 100644 --- a/bot/task_handlers.py +++ b/bot/task_handlers.py @@ -56,9 +56,9 @@ class ChannelTaskBase(AutoDestructThreadHandler): async def post_teaser_msg(self, template_name: str): expiry_time = discord_timestamp(self.expiry_date, DiscordTimestampStyle.long_time) - expiry_relatve = discord_timestamp(self.expiry_date, DiscordTimestampStyle.relative_time) + expiry_relative = discord_timestamp(self.expiry_date, DiscordTimestampStyle.relative_time) return await self.bot.post_template( - template_name, task=self.task, expiry_time=expiry_time, expiry_relatve=expiry_relatve + template_name, task=self.task, expiry_time=expiry_time, expiry_relative=expiry_relative ) async def post_interaction(self, interaction: protocol_schema.Interaction) -> protocol_schema.Task: diff --git a/bot/templates/teaser_assistant_reply.msg b/bot/templates/teaser_assistant_reply.msg index ef13ee02..6975d417 100644 --- a/bot/templates/teaser_assistant_reply.msg +++ b/bot/templates/teaser_assistant_reply.msg @@ -1,3 +1,3 @@ :robot: **Challenge: Assistant Reply** -:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relatve }}). \ No newline at end of file +:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}). \ No newline at end of file diff --git a/bot/templates/teaser_initial_prompt.msg b/bot/templates/teaser_initial_prompt.msg index 89fabd01..e9ae5c7a 100644 --- a/bot/templates/teaser_initial_prompt.msg +++ b/bot/templates/teaser_initial_prompt.msg @@ -1,3 +1,3 @@ :microphone2: **Challenge: Initial Prompt** -:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relatve }}). \ No newline at end of file +:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}). \ No newline at end of file diff --git a/bot/templates/teaser_rank_conversation_replies.msg b/bot/templates/teaser_rank_conversation_replies.msg index 39c52539..744f7a76 100644 --- a/bot/templates/teaser_rank_conversation_replies.msg +++ b/bot/templates/teaser_rank_conversation_replies.msg @@ -1,3 +1,3 @@ :bar_chart: **Challenge: Rank Replies** -:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relatve }}). \ No newline at end of file +:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}). \ No newline at end of file diff --git a/bot/templates/teaser_rank_initial_prompts.msg b/bot/templates/teaser_rank_initial_prompts.msg index e9f9972a..07399f56 100644 --- a/bot/templates/teaser_rank_initial_prompts.msg +++ b/bot/templates/teaser_rank_initial_prompts.msg @@ -1,3 +1,3 @@ :bar_chart: **Challenge: Rank Initial Prompts** -:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relatve }}). \ No newline at end of file +:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}). \ No newline at end of file diff --git a/bot/templates/teaser_rate_summary.msg b/bot/templates/teaser_rate_summary.msg index c096973b..41357b06 100644 --- a/bot/templates/teaser_rate_summary.msg +++ b/bot/templates/teaser_rate_summary.msg @@ -1,3 +1,3 @@ :ballot_box: **Challenge: Rate Summary** -:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relatve }}). \ No newline at end of file +:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}). \ No newline at end of file diff --git a/bot/templates/teaser_summarize_story.msg b/bot/templates/teaser_summarize_story.msg index 57585198..6e5ee5e5 100644 --- a/bot/templates/teaser_summarize_story.msg +++ b/bot/templates/teaser_summarize_story.msg @@ -1,3 +1,3 @@ :books: **Challenge: Summarize Story** -:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relatve }}). \ No newline at end of file +:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}). \ No newline at end of file diff --git a/bot/templates/teaser_user_reply.msg b/bot/templates/teaser_user_reply.msg index e7d10996..47ec8a2d 100644 --- a/bot/templates/teaser_user_reply.msg +++ b/bot/templates/teaser_user_reply.msg @@ -1,3 +1,3 @@ :person_red_hair: **Challenge: User Reply** -:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relatve }}). \ No newline at end of file +:point_down: Work on it here (:fire: Thread will self-destruct at {{ expiry_time }}, {{ expiry_relative }}). \ No newline at end of file