mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
default channel doesn't exist anymore (#1738)
This commit is contained in:
@@ -312,15 +312,6 @@ class Guild {
|
|||||||
return this.client.voice.connections.get(this.id) || null;
|
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
|
* The position of this guild
|
||||||
* <warn>This is only available when using a user account.</warn>
|
* <warn>This is only available when using a user account.</warn>
|
||||||
|
|||||||
Reference in New Issue
Block a user