negate check

This commit is contained in:
2025-04-02 00:56:17 -04:00
parent 7f04c20b75
commit 8044da95e5

View File

@@ -215,7 +215,7 @@ pub async fn blackjack(ctx: Context<'_>, amount: String) -> Result<(), Error>
return Ok(()); return Ok(());
}; };
if mci.member.clone().unwrap().user.id == ctx.author().id { if mci.member.clone().unwrap().user.id != ctx.author().id {
mci.create_response(ctx, mci.create_response(ctx,
serenity::CreateInteractionResponse::Message( serenity::CreateInteractionResponse::Message(
CreateInteractionResponseMessage::new() CreateInteractionResponseMessage::new()