mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 10:04:41 +12:00
default channel doesn't exist anymore (#1738)
This commit is contained in:
parent
580e066a36
commit
e5386e33a8
1 changed files with 0 additions and 9 deletions
|
@ -312,15 +312,6 @@ class Guild {
|
|||
return this.client.voice.connections.get(this.id) || null;
|
||||
}
|
||||
|
||||
/**
|
||||
* The `#general` TextChannel of the guild
|
||||
* @type {TextChannel}
|
||||
* @readonly
|
||||
*/
|
||||
get defaultChannel() {
|
||||
return this.channels.get(this.id);
|
||||
}
|
||||
|
||||
/**
|
||||
* The position of this guild
|
||||
* <warn>This is only available when using a user account.</warn>
|
||||
|
|
Loading…
Reference in a new issue