File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2222NEWSLETTER_CHANNEL_NAME = os .environ ["NEWSLETTER_CHANNEL_NAME" ]
2323JOB_BOARD_CHANNEL_NAME = os .environ ["JOB_BOARD_CHANNEL_NAME" ]
2424ACTIVELY_HIRING_ROLE_ID = os .environ ["ACTIVELY_HIRING_ROLE_ID" ]
25+ NOTIFY_ROLE_ID = os .environ ["NOTIFY_ROLE_ID" ]
2526
2627# Logging Configuration
2728logging .getLogger ().setLevel (logging .INFO )
@@ -135,7 +136,7 @@ def process_video(body: str, channel_id: str):
135136 if payload is None :
136137 return "There was an issue processing the XML." , 500
137138
138- message = f"Hey @everyone - Check out Damien's latest video - { payload ['videoName' ]} { payload ['videoUrl' ]} "
139+ message = f"Hey <@& { NOTIFY_ROLE_ID } > - Check out Damien's latest video - { payload ['videoName' ]} { payload ['videoUrl' ]} "
139140 response = dynamodb_client .get_item (
140141 TableName = TABLE_ARN ,
141142 Key = {
Original file line number Diff line number Diff line change @@ -263,6 +263,7 @@ module "discord_bot" {
263263 " CONTENT_CORNER_CHANNEL_NAME" : " 📹-content-corner"
264264 " JOB_BOARD_CHANNEL_NAME" : " 🏢-job-board"
265265 " ACTIVELY_HIRING_ROLE_ID" : " 1329874561818165309"
266+ " NOTIFY_ROLE_ID" : " 1338013529843826728"
266267 }
267268
268269 create_permission = true
You can’t perform that action at this time.
0 commit comments