We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c90879f commit 171eea2Copy full SHA for 171eea2
1 file changed
src/discord/actions/paginator.rs
@@ -469,7 +469,7 @@ pub async fn create_paged_server_view(
469
let mut components = build_manage_server_action_row(false, history);
470
components.extend(create_action_row(current_page, total_pages, false));
471
472
- let mut response = EditInteractionResponse::new()
+ let mut response = EditMessage::new()
473
.embed(current_embed)
474
.components(components);
475
@@ -478,11 +478,11 @@ pub async fn create_paged_server_view(
478
EditAttachments::new().add(attachment)
479
);
480
} else {
481
- response = response.clear_attachments();
+ response = response.attachments(EditAttachments::new());
482
}
483
484
- interaction.edit_response(
485
- &ctx.serenity_context(),
+ message.edit(
+ &ctx,
486
response
487
).await?;
488
0 commit comments