From 29f97f82c4a1b8dec7d9c48edd422d2597559f02 Mon Sep 17 00:00:00 2001 From: Jacob Date: Wed, 22 Apr 2026 01:05:34 -0400 Subject: [PATCH] fix: move title to author field cause you can't @mention users in the title --- src/command/debug.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command/debug.rs b/src/command/debug.rs index b5c6fa5..23f64ea 100644 --- a/src/command/debug.rs +++ b/src/command/debug.rs @@ -17,7 +17,7 @@ use twilight_model::{ use twilight_util::builder::{ InteractionResponseDataBuilder, command::CommandBuilder, - embed::{EmbedBuilder, EmbedFieldBuilder}, + embed::{EmbedAuthorBuilder, EmbedBuilder, EmbedFieldBuilder}, }; use crate::{bot_capnp, command::State}; @@ -203,7 +203,7 @@ pub async fn handle(state: State, interaction: Interaction) { .interaction(state.discord_application_id) .create_followup(&interaction.token) .embeds(&[EmbedBuilder::new() - .title(user_mention) + .author(EmbedAuthorBuilder::new(user_mention)) .field(EmbedFieldBuilder::new("Consent", format!("{consent:?}")).build()) .field( EmbedFieldBuilder::new(