pycord icon indicating copy to clipboard operation
pycord copied to clipboard

feat(ui): set_callback method

Open Soheab opened this issue 4 months ago • 2 comments

Summary

Convenient method to get all possible arguments without having to use subclass view and use the decorator.

WIP. Needs testing.

Information

  • [ ] This PR fixes an issue.
  • [x] This PR adds something new (e.g. new method or parameters).
  • [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • [ ] This PR is not a code change (e.g. documentation, README, typehinting, examples, ...).

Checklist

  • [ ] I have searched the open pull requests for duplicates.
  • [ ] If code changes were made then they have been tested.
    • [ ] I have updated the documentation to reflect the changes.
  • [ ] If type: ignore comments were used, a comment is also left explaining why.
  • [ ] I have updated the changelog to include these changes.

Soheab avatar Oct 30 '25 23:10 Soheab

Thanks for opening this pull request! Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/2985/head:pr-2985
git checkout pr-2985

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/2985/head

pycord-app[bot] avatar Oct 30 '25 23:10 pycord-app[bot]

Holding to think about more: https://canary.discord.com/channels/881207955029110855/881735314987708456/1435784975772287017

Soheab avatar Nov 07 '25 15:11 Soheab