mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
feat(AllowedMentions): add typings for replied_user
This commit is contained in:
parent
ff2dbfa52d
commit
b61a367392
2 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ class TextBasedChannel {
|
||||||
* @property {MessageMentionTypes[]} [parse] Types of mentions to be parsed
|
* @property {MessageMentionTypes[]} [parse] Types of mentions to be parsed
|
||||||
* @property {Snowflake[]} [users] Snowflakes of Users to be parsed as mentions
|
* @property {Snowflake[]} [users] Snowflakes of Users to be parsed as mentions
|
||||||
* @property {Snowflake[]} [roles] Snowflakes of Roles 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
1
typings/index.d.ts
vendored
|
|
@ -2816,6 +2816,7 @@ declare module 'discord.js' {
|
||||||
parse?: MessageMentionTypes[];
|
parse?: MessageMentionTypes[];
|
||||||
roles?: Snowflake[];
|
roles?: Snowflake[];
|
||||||
users?: Snowflake[];
|
users?: Snowflake[];
|
||||||
|
repliedUser: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
type MessageMentionTypes = 'roles' | 'users' | 'everyone';
|
type MessageMentionTypes = 'roles' | 'users' | 'everyone';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue