create reminders :)
This commit is contained in:
@ -122,7 +122,7 @@ impl ComponentDataModel {
|
||||
.create_interaction_response(&ctx, |r| {
|
||||
r.kind(InteractionResponseType::UpdateMessage).interaction_response_data(
|
||||
|response| {
|
||||
response.embeds(vec![embed]).components(|comp| {
|
||||
response.set_embeds(vec![embed]).components(|comp| {
|
||||
pager.create_button_row(pages, comp);
|
||||
|
||||
comp
|
||||
|
@ -88,7 +88,7 @@ pub fn send_as_initial_response(
|
||||
if let Some(content) = content {
|
||||
f.content(content);
|
||||
}
|
||||
f.embeds(embeds);
|
||||
f.set_embeds(embeds);
|
||||
if let Some(allowed_mentions) = allowed_mentions {
|
||||
f.allowed_mentions(|f| {
|
||||
*f = allowed_mentions.clone();
|
||||
|
Reference in New Issue
Block a user