remove price and quantity and print the embed

This commit is contained in:
starnakin 2023-10-10 12:50:19 +00:00
parent e398c3c6cb
commit ed73e9db37

View File

@ -29,12 +29,13 @@ int main()
dpp::embed embed = dpp::embed() dpp::embed embed = dpp::embed()
.set_color(dpp::colors::sea_green) .set_color(dpp::colors::sea_green)
.set_title(event.msg.content) .set_title(event.msg.content)
.add_field("Quantite", "1", true) //.add_field("Quantite", "1", true)
//.add_field("Prix", "3.29") //.add_field("Prix", "3.29")
.set_author(event.msg.author.username, "", "") .set_author(event.msg.author.username, "", "")
.set_footer(dpp::embed_footer().set_text("PyMenuVersion:2.0")); .set_footer(dpp::embed_footer().set_text("PyMenuVersion:2.0"));
dpp::message msg(event.msg.channel_id, embed); dpp::message msg(event.msg.channel_id, embed);
event.send(msg);
bot.message_delete(event.msg.id, event.msg.channel_id); bot.message_delete(event.msg.id, event.msg.channel_id);
} }