44
55from typing import Dict , Callable
66
7- from django .utils import timezone
8-
97from core .models import DiscordMessage
108from core .bot .channel_router import Channels
9+ from core .bot .config import Roles
1110
1211
1312def standup_message_factory () -> DiscordMessage :
1413 """Factory for weekly standup message."""
15- today = timezone .now ()
16- week_number = today .isocalendar ()[1 ]
17-
1814 content = (
19- f"## Monday Standup - Week { week_number } \n \n "
20- f"Good morning team! Please share: \n \n "
21- f"1. What you accomplished last week\n "
22- f"2. What you're planning for this week\n "
23- f"3. Any blockers or assistance needed "
15+ f"## Happy Monday <@& { Roles . board_member_role_id } >! \n \n "
16+ f"Let's keep everyone in the loop :) \n \n "
17+ f"(1) What you worked on last week\n "
18+ f"(2) What are you planning to work on this week\n "
19+ f"(3) Are there any blockers or where could you use some help? "
2420 )
2521
2622 # Using the test channel for now - replace with appropriate channel later
27- channel = Channels .test_channel
23+ channel = Channels .standup_channel
2824
2925 return DiscordMessage (
3026 channel_id = channel .channel_id ,
@@ -37,4 +33,4 @@ def standup_message_factory() -> DiscordMessage:
3733# Registry of message factories
3834MESSAGE_FACTORIES : Dict [str , Callable [[], DiscordMessage ]] = {
3935 "standup" : standup_message_factory ,
40- }
36+ }
0 commit comments