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(