fix(bot,rest,types)!: attachment sending (#2917)

* fix(bot,rest,types)!: attachment sending

* apply code suggestions

* forgot to add that

* this should not be there i guess

* maybe spell it right

* actually revert the attachments rename

* Change how method gets passed

* more stuff

* improve function name
This commit is contained in:
ITOH
2023-03-31 20:50:53 +00:00
committed by GitHub
parent 18150174ae
commit f5abd83cc5
8 changed files with 72 additions and 65 deletions
+2 -2
View File
@@ -104,8 +104,8 @@ export interface BotInteractionCallbackData {
embeds?: Embed[]
/** Allowed mentions for the message */
allowedMentions?: AllowedMentions
/** The contents of the file being sent */
file?: FileContent | FileContent[]
/** The contents of the files being sent */
files?: FileContent[]
/** The customId you want to use for this modal response. */
customId?: string
/** The title you want to use for this modal response. */