mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
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:
parent
5e7ae847de
commit
47707d245d
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue