This commit is contained in:
ITOH
2021-05-02 21:36:36 +02:00
parent 81e70dc4ff
commit 5240981d61
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ Deno.test({
}
// Delete the channel now without a reason
await deleteChannel(tempData.guildId, channel.id);
await deleteChannel(channel.id);
// wait 5 seconds to give it time for CHANNEL_DELETE event
await delayUntil(3000, () => !cache.channels.has(channel.id));
// Make sure it is gone from cache