Skip to content

Commit 6a03cbc

Browse files
committed
Fix role mention
1 parent 1b47be5 commit 6a03cbc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bot.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,12 @@ async def on_add_checkmark_reaction(self, reaction: RawReactionActionEvent) -> N
115115
embed = nextcord.Embed(color=5814783)
116116
add_localized_times_to_embed(embed, meeting_notification.date)
117117

118+
role = channel.guild.get_role(MEETING_WATCHERS_ROLE_ID)
119+
120+
assert role
121+
118122
message = await channel.send(
119-
"Hey @meeting-watchers 👋 the next monthly meeting will happen "
123+
f"Hey {role.mention} 👋 the next monthly meeting will happen "
120124
f"{meeting_notification.date.humanize()} 📅\n"
121125
f"Realtime notes will be posted here: {NOTES_LINK}.\n\n"
122126
"Feel free to add any topics you'd like to discuss in the meeting! 🍓",

0 commit comments

Comments
 (0)