Skip to content

Conversation

@Feinq
Copy link
Contributor

@Feinq Feinq commented Jul 30, 2025

This PR introduces follow_up and co_follow_up functions on dpp::interaction_create_t.

This change also includes two improvements found during implementation:

  • Documentation: Corrected several doxygen comments in dpp/cluster.h that incorrectly referred to "slash commands" instead of the more general "interactions" for interaction-related functions, since follow ups naturally work for other interactions such as button interactions as well.
  • Performance: The for-loop in edit_original_response now uses const& to avoid expensive copies of file data when editing a message with attachments.

Code change checklist

  • I have ensured that all methods and functions are fully documented using doxygen style comments.
  • My code follows the coding style guide.
  • I tested that my change works before raising the PR.
  • I have ensured that I did not break any existing API calls.
  • I have not built my pull request using AI, a static analysis tool or similar without any human oversight.

@github-actions
Copy link
Contributor

Thank you for your contribution, but PRs must be raised against the dev branch. Please log your pull request against the dev branch not master. You can also retarget this pull request, then reopen it.

@github-actions github-actions bot closed this Jul 30, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation code Improvements or additions to code. labels Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Improvements or additions to code. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant