put spaces after @s in filenames and titles and stuff
This commit is contained in:
parent
5aed742bfa
commit
0f75889a3e
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1220,7 +1220,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "screencap-bot"
|
name = "screencap-bot"
|
||||||
version = "1.4.0"
|
version = "1.4.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"dotenvy",
|
"dotenvy",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "screencap-bot"
|
name = "screencap-bot"
|
||||||
version = "1.4.0"
|
version = "1.4.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["xenofem <xenofem@xeno.science>"]
|
authors = ["xenofem <xenofem@xeno.science>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -126,7 +126,7 @@ async fn post_random_capture<R: Rng>(
|
||||||
|
|
||||||
let image_attachment = eggbug::Attachment::new(
|
let image_attachment = eggbug::Attachment::new(
|
||||||
image_data,
|
image_data,
|
||||||
format!("{} @{}.png", descriptor, formatted_timestamp),
|
format!("{} @ {}.png", descriptor, formatted_timestamp),
|
||||||
String::from("image/png"),
|
String::from("image/png"),
|
||||||
eggbug::MediaMetadata::Image {
|
eggbug::MediaMetadata::Image {
|
||||||
width: Some(image_size.width as u32),
|
width: Some(image_size.width as u32),
|
||||||
|
@ -148,11 +148,11 @@ async fn post_random_capture<R: Rng>(
|
||||||
|
|
||||||
let audio_attachment = eggbug::Attachment::new(
|
let audio_attachment = eggbug::Attachment::new(
|
||||||
audio_data,
|
audio_data,
|
||||||
format!("{} @{}.mp3", descriptor, formatted_timestamp),
|
format!("{} @ {}.mp3", descriptor, formatted_timestamp),
|
||||||
String::from("audio/mpeg"),
|
String::from("audio/mpeg"),
|
||||||
eggbug::MediaMetadata::Audio {
|
eggbug::MediaMetadata::Audio {
|
||||||
artist: show.title.clone(),
|
artist: show.title.clone(),
|
||||||
title: format!("{} @{}", descriptor, formatted_timestamp),
|
title: format!("{} @ {}", descriptor, formatted_timestamp),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue