diff --git a/src/structures/interfaces/messageInteraction.ts b/src/structures/interfaces/messageInteraction.ts index 248dcdc6..1fd7830e 100644 --- a/src/structures/interfaces/messageInteraction.ts +++ b/src/structures/interfaces/messageInteraction.ts @@ -35,7 +35,7 @@ export class MessageInteractionContext< * Fetches a message. * @param messageID The ID of the message, defaults to the original message */ - async fetch(messageID = '@original') { + async fetch(messageID = '@original'): Promise { const data = await this.creator.api.fetchInteractionMessage( this.creator.options.applicationID, this.interactionToken, @@ -130,7 +130,7 @@ export class MessageInteractionContext< * @param messageID The message's ID * @param content The content of the message */ - async edit(messageID: string, content: string | EditMessageOptions) { + async edit(messageID: string, content: string | EditMessageOptions): Promise { if (this.expired) throw new Error('This interaction has expired'); const options = typeof content === 'string' ? { content } : content;