From cad57690c9c523e800c07650cfcd67207f033a2a Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Fri, 7 May 2021 14:16:13 +0200 Subject: [PATCH] run fmt --- src/helpers/interactions/send_interaction_response.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/helpers/interactions/send_interaction_response.ts b/src/helpers/interactions/send_interaction_response.ts index 51a1004e8..9c873cd7d 100644 --- a/src/helpers/interactions/send_interaction_response.ts +++ b/src/helpers/interactions/send_interaction_response.ts @@ -14,7 +14,7 @@ import { validateComponents } from "../../util/utils.ts"; export async function sendInteractionResponse( id: bigint, token: string, - options: DiscordenoInteractionResponse + options: DiscordenoInteractionResponse, ) { // TODO: add more options validations if (options.data?.components) validateComponents(options.data?.components); @@ -25,7 +25,7 @@ export async function sendInteractionResponse( endpoints.WEBHOOK(applicationId, token), { ...options, - } + }, ); } @@ -34,7 +34,7 @@ export async function sendInteractionResponse( setTimeout(() => { eventHandlers.debug?.( "loop", - `Running setTimeout in send_interaction_response file.` + `Running setTimeout in send_interaction_response file.`, ); cache.executedSlashCommands.delete(token); }, 900000); @@ -52,6 +52,6 @@ export async function sendInteractionResponse( return await rest.runMethod( "post", endpoints.INTERACTION_ID_TOKEN(id, token), - options + options, ); }