diff options
| author | 2023-06-20 17:21:34 +0100 | |
|---|---|---|
| committer | 2023-06-23 09:08:10 +0100 | |
| commit | b18570fb21fdfc039330a9556530af6f85d1a519 (patch) | |
| tree | 050e692645a4c522ae9b0fcea965eb42fee726b8 /tests/test_base.py | |
| parent | Remove logic around when a role is available (diff) | |
Swap the order of interaction resposnes in sub cog
interaction.followup is only available after interaction.response is successfully used. Since interaction.response.edit_message can fail, using interaction.followup afterwards is incorrect.
By swapping the order around here, we guarantee that a followup webhook is available.
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions