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-18 05:14:47 +0100
commit7c68db09e973cb91f7250d279be378b24ff34acd (patch)
tree0d3406d739ce3c41fdb94ea2bfa83815762180d9
parentcall to json (diff)
downloadserver-ts-7c68db09e973cb91f7250d279be378b24ff34acd.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: {