put spaces after @s in filenames and titles and stuff

This commit is contained in:
xenofem 2023-07-31 19:42:18 -04:00
parent 5aed742bfa
commit 0f75889a3e
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View file

@ -1220,7 +1220,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]]
name = "screencap-bot"
version = "1.4.0"
version = "1.4.1"
dependencies = [
"anyhow",
"dotenvy",

View file

@ -1,6 +1,6 @@
[package]
name = "screencap-bot"
version = "1.4.0"
version = "1.4.1"
edition = "2021"
authors = ["xenofem <xenofem@xeno.science>"]
license = "MIT"

View file

@ -126,7 +126,7 @@ async fn post_random_capture<R: Rng>(
let image_attachment = eggbug::Attachment::new(
image_data,
format!("{} @{}.png", descriptor, formatted_timestamp),
format!("{} @ {}.png", descriptor, formatted_timestamp),
String::from("image/png"),
eggbug::MediaMetadata::Image {
width: Some(image_size.width as u32),
@ -148,11 +148,11 @@ async fn post_random_capture<R: Rng>(
let audio_attachment = eggbug::Attachment::new(
audio_data,
format!("{} @{}.mp3", descriptor, formatted_timestamp),
format!("{} @ {}.mp3", descriptor, formatted_timestamp),
String::from("audio/mpeg"),
eggbug::MediaMetadata::Audio {
artist: show.title.clone(),
title: format!("{} @{}", descriptor, formatted_timestamp),
title: format!("{} @ {}", descriptor, formatted_timestamp),
},
);