summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2026-03-02 18:38:41 -0600
committerRory& <root@rory.gay>2026-03-20 16:31:32 +0100
commita277c8d077dbe5b22915c0ebdd9543891a2ad5ed (patch)
treeea49c0faecdf5c42ee232a32e826d33e94209335
parentcall to json (diff)
downloadserver-ts-a277c8d077dbe5b22915c0ebdd9543891a2ad5ed.tar.xz
don't do that
-rw-r--r--src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts3
1 files changed, 3 insertions, 0 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 afa8a71a..252766c9 100644 --- a/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts +++ b/src/api/routes/interactions/#interaction_id/#interaction_token/callback.ts
@@ -111,8 +111,11 @@ router.post("/", route({}), async (req: Request, res: Response) => { // TODO break; case InteractionCallbackType.DEFERRED_UPDATE_MESSAGE: + //I think this is just ignored ish at least + 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: {