aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-03-27 13:27:20 +0800
committerGravatar hedy <[email protected]>2024-03-27 13:27:20 +0800
commit8efc22daacbc3f56575fc3a920030b0e4b35cc6e (patch)
treef58b513498e1843303dae5ecb960b91baaa9da5a /tests/helpers.py
parentReminders: 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/helpers.py')
0 files changed, 0 insertions, 0 deletions