summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2026-03-02 18:40:39 -0600
committerRory& <root@rory.gay>2026-03-07 00:58:31 +0100
commite9512011e11d1330ba85e55cc3d1bb24b4ccde27 (patch)
tree1ef993b55385a564df0abe92c4575e0e0f00cb03 /src/api
parentdon't do that (diff)
downloadserver-ts-e9512011e11d1330ba85e55cc3d1bb24b4ccde27.tar.xz
remove logs
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts b/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts

index ac57dc3c..0d1e3272 100644 --- a/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts +++ b/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts
@@ -46,7 +46,6 @@ router.post("/", route({}), async (req: Request, res: Response) => { nonce: interaction?.nonce, }, } as InteractionSuccessEvent); - console.log(body.type); switch (body.type) { case InteractionCallbackType.PONG: @@ -118,7 +117,6 @@ router.post("/", route({}), async (req: Request, res: Response) => { break; case InteractionCallbackType.UPDATE_MESSAGE: { - console.log(body.type); if (!interaction.mesageId) throw new HTTPError("no. That was not a message"); const message = await Message.findOneOrFail({ relations: { @@ -145,9 +143,7 @@ router.post("/", route({}), async (req: Request, res: Response) => { throw new HTTPError("Content length over max character limit"); } if (body.data.components) stripNull(body.data.components); - console.log(body.data.components); message.embeds = body.data.embeds || []; - console.log(message); const handle = body.data.components ? handleComps(body.data.components, message.flags) : undefined; await handle?.(message.id, message.author as User, message.channel); message.components = body.data.components;