for row in rows {
// まずはrowから情報を抜き出す
let task_id = row.get::<&str, uuid::Uuid>("id").to_string();
let task_name: String = row.get("tast_name");
let users: String = row.get("users");
let embed = CreateEmbed::default()
.title(task_id)
.description("Embed Description")
.color((0, 255, 0))
.field(task_name, users, false);
embeds.push(embed);
}
for embed in embeds {
let rep = CreateReply::default().content("").embed(embed);
ctx.send(rep).await?;
だいぶめんどくさいらしい。