mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(WelcomeChannel): Allow store channels (#6615)
This commit is contained in:
@@ -42,7 +42,7 @@ class WelcomeChannel extends Base {
|
||||
|
||||
/**
|
||||
* The channel of this welcome channel
|
||||
* @type {?(TextChannel|NewsChannel)}
|
||||
* @type {?(TextChannel|NewsChannel|StoreChannel)}
|
||||
*/
|
||||
get channel() {
|
||||
return this.client.channels.resolve(this.channelId);
|
||||
|
||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -2224,7 +2224,7 @@ export class WelcomeChannel extends Base {
|
||||
public channelId: Snowflake;
|
||||
public guild: Guild | InviteGuild;
|
||||
public description: string;
|
||||
public readonly channel: TextChannel | NewsChannel | null;
|
||||
public readonly channel: TextChannel | NewsChannel | StoreChannel | null;
|
||||
public readonly emoji: GuildEmoji | Emoji;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user