mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
more fixxes
This commit is contained in:
@@ -14,7 +14,7 @@ async function ifItFailsBlameWolf(options: CreateGuildChannel, _save = false) {
|
||||
|
||||
// Assertions
|
||||
assertExists(channel);
|
||||
assertEquals(channel.type, options.type || DiscordChannelTypes.GUILD_TEXT);
|
||||
assertEquals(channel.type, options.type || DiscordChannelTypes.GuildText);
|
||||
|
||||
// Delay the execution by 5 seconds to allow CHANNEL_CREATE event to be processed
|
||||
await delayUntil(10000, () => cache.channels.has(channel.id));
|
||||
|
||||
Reference in New Issue
Block a user