feat(AllowedMentions): add typings for replied_user

This commit is contained in:
monbrey 2020-11-17 10:39:37 +11:00
parent ff2dbfa52d
commit b61a367392
2 changed files with 2 additions and 0 deletions

View file

@ -74,6 +74,7 @@ class TextBasedChannel {
* @property {MessageMentionTypes[]} [parse] Types of mentions to be parsed
* @property {Snowflake[]} [users] Snowflakes of Users to be parsed as mentions
* @property {Snowflake[]} [roles] Snowflakes of Roles to be parsed as mentions
* @property {boolean} [repliedUser] Whether the author of the Message being replied to should be pinged
*/
/**

1
typings/index.d.ts vendored
View file

@ -2816,6 +2816,7 @@ declare module 'discord.js' {
parse?: MessageMentionTypes[];
roles?: Snowflake[];
users?: Snowflake[];
repliedUser: boolean;
}
type MessageMentionTypes = 'roles' | 'users' | 'everyone';