don't do that

This commit is contained in:
MathMan05 authored and Rory& committed 2026-03-07 00:58:31 +01:00
1 parent 5acfb627c2
commit 5da0b14f19
1 file changed
+3
@@ -114,8 +114,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: {