From 45c8fe668de75f42ceb81fc90a43cba01591d175 Mon Sep 17 00:00:00 2001 From: Skillz Date: Sat, 24 Oct 2020 10:31:32 -0400 Subject: [PATCH] cleaner type --- src/structures/channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/channel.ts b/src/structures/channel.ts index 64e77ef9b..00e28eaff 100644 --- a/src/structures/channel.ts +++ b/src/structures/channel.ts @@ -20,7 +20,7 @@ export async function createChannel( const channel = { ...rest, /** The guild id of the channel if it is a guild channel. */ - guildID: guildID || rawGuildID, + guildID: guildID || rawGuildID || "", /** The id of the last message sent in this channel */ lastMessageID, /** The amount of users allowed in this voice channel. */