fluxer config

This commit is contained in:
mo
2026-02-17 19:28:23 +01:00
parent 6ce1fdf67d
commit b3766b9584
4 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
import {
TextChannels,
VoiceChannels,
} from "@avocadi/bot-core/entities/channels/channels.schema";
import { Roles } from "@avocadi/bot-core/entities/roles/roles.schema";
import z from "zod";
export const ConfigSchema = z.object({
channelMapping: z.object({
text: z.record(TextChannels, z.string()),
voice: z.record(VoiceChannels, z.string()),
}),
roleMapping: z.record(Roles, z.string()),
serverId: z.string(),
version: z.number(),
fluxer: z.object({
token: z.string(),
applicationId: z.string(),
}),
});