feat(Webhook): add channel getter (#9074)

* fix: add channel property

* fix: missing new line
This commit is contained in:
Jaworek
2023-02-17 22:25:32 +01:00
committed by GitHub
parent 123d0f1aca
commit 32cdaff7eb
2 changed files with 11 additions and 1 deletions

1
typings/index.d.ts vendored
View File

@@ -2828,6 +2828,7 @@ export class Webhook extends WebhookMixin() {
private constructor(client: Client, data?: RawWebhookData);
public avatar: string;
public avatarURL(options?: StaticImageURLOptions): string | null;
public readonly channel: TextChannel | VoiceChannel | NewsChannel | ForumChannel | null;
public channelId: Snowflake;
public client: Client;
public guildId: Snowflake;