feat(guild-messaging): support message metadata for reply mentions and attachments

This commit is contained in:
nav
2026-05-12 10:28:02 +00:00
parent ceaece754e
commit d3fdc3dd1e
6 changed files with 124 additions and 4 deletions

View File

@@ -1,10 +1,18 @@
import 'reflect-metadata';
import { ValidationPipe } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.setGlobalPrefix('api');
app.useGlobalPipes(
new ValidationPipe({
whitelist: true,
forbidNonWhitelisted: true,
transform: true,
}),
);
const port = process.env.PORT ? Number(process.env.PORT) : 7002;
await app.listen(port);
console.log(`Fabric.Backend.Guild listening on :${port}`);