diff options
| author | 2022-11-26 14:11:27 +0400 | |
|---|---|---|
| committer | 2022-11-26 14:11:27 +0400 | |
| commit | fcf7e1cc2cdef58b27cc7d418f22b7bc22b78f07 (patch) | |
| tree | 5fcd9047957fe247d598b0a7cf6fea17f8c8e010 /tests/base.py | |
| parent | Simplify Help Thread Warning Log (diff) | |
Handle Discord API Not Being Ready
When discord sends us the thread create event in help channels, it is
not ready to perform other operations on the thread such as getting or
pinning messages. This causes it to error out when we try to do these
actions and claim that those channels don't exist. Instead, we sleep for
a short time to try and wait for it to be ready.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions