no, that doesn't work

This commit is contained in:
MathMan05
2025-11-20 17:18:00 -06:00
committed by Rory&
parent 9d546c66b8
commit 5579fcbd0f
@@ -97,6 +97,7 @@ router.post("/", route({}), async (req: Request, res: Response) => {
// TODO
break;
case InteractionCallbackType.CHANNEL_MESSAGE_WITH_SOURCE: {
/*
const user = await User.findOneOrFail({ where: { id: interaction.userId } });
const files = (req.files as Express.Multer.File[]) ?? [];
//I don't think traditional attachments are allowed anyways
@@ -109,6 +110,7 @@ router.post("/", route({}), async (req: Request, res: Response) => {
return res.status(400).json({ message: error?.toString() });
}
}
*/
await sendMessage({
type: MessageType.APPLICATION_COMMAND,
timestamp: new Date(),