pycord
pycord copied to clipboard
feat(ui): set_callback method
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: ignorecomments were used, a comment is also left explaining why. - [ ] I have updated the changelog to include these changes.
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
Holding to think about more: https://canary.discord.com/channels/881207955029110855/881735314987708456/1435784975772287017