aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-07-16 23:09:18 +0100
committerGravatar Chris Lovering <[email protected]>2022-07-16 23:45:30 +0100
commitaca54942212ae2b17bbb83da4631958e71228e14 (patch)
tree49e034e03406ea42ec82bced7a3de276f93f4829 /tests/base.py
parentMove snekbox lock error handling to a try/except (diff)
Use interaction.defer for snekbox version switch button
This is so that we do not need to spawn the run_job call in a seperate task. This also wraps interaction.message.delete() in a NotFound suppress to cover the case where a user re-runs code and very quickly clicks the button. The log arg on send_job will stop the actual job from running in this case.
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions