Make reply embeds say "Replying to ..."

This commit is contained in:
2025-08-23 01:30:54 -03:00
parent 6df7fd272f
commit 9b70714fe3
3 changed files with 3 additions and 3 deletions
Generated
+1 -1
View File
@@ -1437,7 +1437,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
[[package]] [[package]]
name = "payphone" name = "payphone"
version = "4.2.5" version = "4.2.6"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"axum", "axum",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "payphone" name = "payphone"
version = "4.2.5" version = "4.2.6"
edition = "2024" edition = "2024"
default-run = "payphone" default-run = "payphone"
+1 -1
View File
@@ -239,7 +239,7 @@ impl OnMessageHandler<State, Extras> for CallMessageHandler {
embeds.push( embeds.push(
EmbedBuilder::new() EmbedBuilder::new()
.author( .author(
EmbedAuthorBuilder::new(replying_to.data.author_name).icon_url( EmbedAuthorBuilder::new(format!("Replying to {}", replying_to.data.author_name)).icon_url(
ImageSource::url(replying_to.data.author_avatar_url).unwrap(), ImageSource::url(replying_to.data.author_avatar_url).unwrap(),
), ),
) )