Skip to content

Commit

Permalink
everything seems to be working except user mentions; need to refactor…
Browse files Browse the repository at this point in the history
… for that
  • Loading branch information
gburgessiv committed Jan 5, 2025
1 parent 317347f commit 02c6596
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion llvm_buildbot_monitor/src/calendar_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ pub(crate) async fn run_calendar_forever(
// `.borrow().clone()` is fine.
let next_refresh = calculate_next_refresh_time(&state_sender.borrow());
info!(
"Calendar refresh scheduling: waiting {:?} for next refresh.",
"Calendar refresh scheduling: waiting until {:?} for next refresh.",
next_refresh
);
let sleep_dur = next_refresh - Utc::now();
Expand Down
4 changes: 2 additions & 2 deletions llvm_buildbot_monitor/src/discord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ fn build_community_event_announce_message(event: &CommunityEvent) -> String {
}
write!(
&mut result,
" event is starting at <t:{}:f>! [Click here]({}) for more info.",
" event is starting at <t:{}:f>! <[Click here]({})> for more info.",
event.start_time.timestamp(),
event.event_link,
)
Expand All @@ -258,7 +258,7 @@ fn build_community_event_announce_message(event: &CommunityEvent) -> String {
} else {
result += ", ";
}
write!(&mut result, "<@{}>", user).unwrap();
write!(&mut result, "@{}", user).unwrap();
}
return result;

Expand Down

0 comments on commit 02c6596

Please sign in to comment.