diff --git a/src/commands/accountv2.rs b/src/commands/accountv2.rs index 678bdbe..80ccbc5 100644 --- a/src/commands/accountv2.rs +++ b/src/commands/accountv2.rs @@ -1,8 +1,7 @@ use poise::{ChoiceParameter, CreateReply}; use reqwest::Client; use serenity::all::{ - ButtonStyle, ChannelId, CreateActionRow, CreateAllowedMentions, CreateButton, CreateEmbed, - CreateMessage, ReactionType, User, + ButtonStyle, ChannelId, CreateActionRow, CreateAllowedMentions, CreateButton, CreateEmbed, CreateMessage, ReactionType, User }; use sqlx::{Pool, Sqlite}; @@ -106,7 +105,9 @@ pub(crate) async fn add( fn create_verification_message(stats: Arcade, user: &User, ign: String) -> CreateMessage { let embed = CreateEmbed::new() .fields(Vec::<(&'static str, String, bool)>::from(stats)) - .title(format!("Verification request for {user} `{ign}`")); + .title("Verification request".to_string()) + .field("Discord", user.to_string(), false) + .field("Minecraft", ign, false); CreateMessage::new() .embed(embed) .allowed_mentions(CreateAllowedMentions::new().empty_roles().all_users(true))