From 9b70714fe3e3b084f05a8b814af94269e641c4bf Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sat, 23 Aug 2025 01:30:54 -0300 Subject: [PATCH] Make reply embeds say "Replying to ..." --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/groups/calls/events.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index acfc5fe..62c7f8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1437,7 +1437,7 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "payphone" -version = "4.2.5" +version = "4.2.6" dependencies = [ "async-trait", "axum", diff --git a/Cargo.toml b/Cargo.toml index 34b6253..1aa1a29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payphone" -version = "4.2.5" +version = "4.2.6" edition = "2024" default-run = "payphone" diff --git a/src/groups/calls/events.rs b/src/groups/calls/events.rs index a86863c..2975da6 100644 --- a/src/groups/calls/events.rs +++ b/src/groups/calls/events.rs @@ -239,7 +239,7 @@ impl OnMessageHandler for CallMessageHandler { embeds.push( EmbedBuilder::new() .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(), ), )