mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
This commit is contained in:
@@ -133,7 +133,7 @@ Deno.test({
|
||||
const reply = await message.reply("Welcome!");
|
||||
await delayUntil(10000, () => cache.messages.has(reply!.id));
|
||||
|
||||
if (!cache.messages.has(reply?.id!)) {
|
||||
if (!cache.messages.has(reply!.id)) {
|
||||
throw new Error("The message seemed to be sent but it was not cached.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user