diff options
| author | 2024-03-27 13:27:20 +0800 | |
|---|---|---|
| committer | 2024-03-27 13:27:20 +0800 | |
| commit | 8efc22daacbc3f56575fc3a920030b0e4b35cc6e (patch) | |
| tree | f58b513498e1843303dae5ecb960b91baaa9da5a /tests/test_helpers.py | |
| parent | Reminders: Refactor all opt-in button related logic into View class (diff) | |
Reminders: Simplify helper function to get button embed
This removes the need of any form of error handling from `embeds` list
indexing, and makes the code more concise and readable.
The drawback is that a whole new embed object have to be allocated each
time, rather than editing the description like before.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions