Skip to content

Commit fb5be46

Browse files
artem30801hpenney2
andauthored
Components callbacks (#210)
* Add support for component callbacks * Refactored component callbacks. Added cog callbacks support * Added component_callback event dispatching, removed testing prints * Added error handling event for component callbacks (same as for slash commands) * Applied pre_push * Fix for when remove_component_callback is used before remove_component_callback_obj * Update docs for changes * Added ability to dynamically modify component callbacks * Updated docs and formatting * Updated formatting * Updated in accordance to breaking changes introduced in #204 * Fix sphinx errors * Changed component adding functions to accept lists (and objects) of custom_ids/message ids in the same arguments * Added function to spread list of components (buttons) over rows * Adjusted docstrings and error message Co-authored-by: hpenney2 <hpenney1010@gmail.com>
1 parent 38fe68c commit fb5be46

File tree

6 files changed

+543
-54
lines changed

6 files changed

+543
-54
lines changed

0 commit comments

Comments
 (0)