fix: not commiting transaction

This commit is contained in:
2024-12-10 02:17:22 -05:00
parent 8fd9236709
commit ae127367c6

View File

@@ -87,6 +87,8 @@ pub async fn color(ctx: Context<'_>, #[autocomplete = "autocomplete_colors"] col
member.add_role(ctx, role.clone()).await?;
ctx.reply(format!("You have been given the {} role!", role)).await?;
tx.commit().await?;
return Ok(());
}
}