mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
feat(Webhook): backport missing properties (#3710)
* feat(Webhook): add avatarURL getter This backports: https://github.com/discordjs/discord.js/pull/3625 * feat(Webhook): add type, createAt, and createdTimestamp This backports: https://github.com/discordjs/discord.js/pull/3585 * feat(Webhook): add url getter This backports: https://github.com/discordjs/discord.js/pull/3178 * docs(Webhook): add missing type and readonly tags
This commit is contained in:
@@ -902,3 +902,16 @@ exports.MembershipStates = [
|
||||
'INVITED',
|
||||
'ACCEPTED',
|
||||
];
|
||||
|
||||
/**
|
||||
* The value set for a webhook's type:
|
||||
* * Incoming
|
||||
* * Channel Follower
|
||||
* @typedef {string} WebhookTypes
|
||||
*/
|
||||
exports.WebhookTypes = [
|
||||
// They start at 1
|
||||
null,
|
||||
'Incoming',
|
||||
'Channel Follower',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user