From 47707d245dfea4dfd26fd56c258ce571d8e02afc Mon Sep 17 00:00:00 2001 From: Enchanted13 Date: Mon, 9 Jan 2017 10:35:11 -0500 Subject: [PATCH] Changed return type of Guild.defaultChannel (#1079) The default channel for a Guild is always the first TextChannel in the Guild, it can't be a VoiceChannel. --- src/structures/Guild.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index faa5ce55a..c9de61847 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -278,8 +278,8 @@ class Guild { } /** - * The `#general` GuildChannel of the server. - * @type {GuildChannel} + * The `#general` TextChannel of the server. + * @type {TextChannel} * @readonly */ get defaultChannel() {