Make reply embeds say "Replying to ..."
This commit is contained in:
Generated
+1
-1
@@ -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
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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(),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user