fix: CreateMessageOptions.messageReference.failIfNotExists is optional (#4192)

This commit is contained in:
Awesome Stickz
2025-05-11 18:19:46 +05:30
committed by GitHub
parent 059c6a9797
commit 0db0ffe616
+1 -1
View File
@@ -93,7 +93,7 @@ export interface CreateMessageOptions {
/** id of the originating message's guild */
guildId?: BigString
/** When sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, default true */
failIfNotExists: boolean
failIfNotExists?: boolean
}
attachments?: (Pick<Camelize<DiscordAttachment>, 'id'> & Omit<Partial<Camelize<DiscordAttachment>>, 'id'>)[]
/** The contents of the files being sent */