mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: interaction.edit type
This commit is contained in:
@@ -120,7 +120,7 @@ const baseInteraction: Partial<Interaction> & BaseInteraction = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return await this.bot?.rest.editOriginalInteractionResponse(this.token!, response)
|
return await this.bot!.rest.editOriginalInteractionResponse(this.token!, response)
|
||||||
},
|
},
|
||||||
|
|
||||||
async defer(isPrivate) {
|
async defer(isPrivate) {
|
||||||
|
|||||||
@@ -1137,7 +1137,7 @@ export interface RestManager {
|
|||||||
*
|
*
|
||||||
* @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response}
|
* @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response}
|
||||||
*/
|
*/
|
||||||
editOriginalInteractionResponse: (token: string, options: InteractionCallbackData) => Promise<CamelizedDiscordMessage | undefined>
|
editOriginalInteractionResponse: (token: string, options: InteractionCallbackData) => Promise<CamelizedDiscordMessage>
|
||||||
/**
|
/**
|
||||||
* Edits the original webhook message.
|
* Edits the original webhook message.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user