feat(MessageOptions): make all fields of allowedMentions optional

This commit is contained in:
DjDeveloperr 2020-12-03 12:06:18 +05:30
parent 5e5b4076ce
commit efbaf7becb

View file

@ -103,9 +103,9 @@ export interface MessageOption {
embed?: Embed embed?: Embed
file?: Attachment file?: Attachment
allowedMentions?: { allowedMentions?: {
parse: 'everyone' | 'users' | 'roles' parse?: 'everyone' | 'users' | 'roles'
roles: string[] roles?: string[]
users: string[] users?: string[]
} }
} }