~goorzhel/sota-slack-spotter

7332da6c3bc7aee020fd9e3906e29808ea1ed65d — Antonio Gurgel 2 months ago 8cd6b6a
rm calendar emoji

The very fact that the alerts are in roman type and the spots in bold
is enough of a visual cue.
1 files changed, 1 insertions(+), 4 deletions(-)

M src/tasks.rs
M src/tasks.rs => src/tasks.rs +1 -4
@@ 42,10 42,7 @@ pub fn process_alerts(
        info!("Found {} new alert(s).", count);
    }

    let slack_message = new_alerts
        .iter()
        .cloned()
        .map(|a| format!(":calendar: {}", a));
    let slack_message = new_alerts.iter().cloned().map(|a| format!("{}", a));
    slack.message_batch(slack_message)?;

    alert_cache.add(new_alerts);