diff options
author | 2022-06-17 12:46:42 +0300 | |
---|---|---|
committer | 2022-06-17 12:46:42 +0300 | |
commit | 2de1d1040191ebe73e2f6689a1afb43f77b07fae (patch) | |
tree | 8bcfe5b69b1f138657662097fce0bd501cc35850 /tests/_autospec.py | |
parent | Merge pull request #2195 from python-discord/fix/bot#2194 (diff) |
Fix help embed views
Due to various breaking changes in the discord.py library the views of the help embed stopped working properly.
- Use `add_item` in `CommandView`. This was done in GroupView but was apparently missed in `CommandView`, and the former (hacky) method no longer works.
- Instead of editing the help message normally (which required to then defer the response), the message edit is made to be the response itself. It seems like the callback would automatically defer the response if none was made, but that no longer happens.
Diffstat (limited to 'tests/_autospec.py')
0 files changed, 0 insertions, 0 deletions