feat(Webhook): add url getter (#3178)

* add Webhook#url

* set typing as readonly

* suggested change

* another one
This commit is contained in:
izexi
2019-04-05 10:09:58 +01:00
committed by SpaceEEC
parent bb92289e45
commit c078682722
2 changed files with 10 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -1270,6 +1270,7 @@ declare module 'discord.js' {
public guildID: Snowflake;
public name: string;
public owner: User | object;
public readonly url: string;
}
export class WebhookClient extends WebhookMixin(BaseClient) {