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.
This commit is contained in:
Enchanted13
2017-01-09 10:35:11 -05:00
committed by Amish Shah
parent 5e7ae847de
commit 47707d245d

View File

@@ -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() {