diff options
author | 2022-11-26 14:40:04 +0400 | |
---|---|---|
committer | 2022-11-26 14:40:04 +0400 | |
commit | 555ed4e9195aae7b5af742c59125833ce8b01b4c (patch) | |
tree | 24baa06dbfdb3cb236469f8bf7777835dcb3d01c /pyproject.toml | |
parent | Catch Failure In Pining Help Starter Message (diff) |
Check If Thread Is Closed In wait_for_deletion
The wait_for_deletion utility would try to remove reactions from a
message after the timeout expires, which would normally be fine. In
threads however, they can be closed while waiting for the timeout to
expire. In such a case, the bot will try to remove the reactions after
the channel has been closed and fail. A special exception was added for
this case to do nothing, since this is only a QoL feature.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions