mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
feat(Webhook): add url getter (#3178)
* add Webhook#url * set typing as readonly * suggested change * another one
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user