Yet another Fluxer bot built with TypeScript and Bun
at develop 11 lines 284 B view raw
1import { createEnv } from "@t3-oss/env-core"; 2import { z } from "zod"; 3 4export const env = createEnv({ 5 server: { 6 FLUXER_BOT_TOKEN: z.string(), 7 PREFIX: z.string().min(1).default("!"), 8 DB_FILENAME: z.string().min(1).default("data.db"), 9 }, 10 runtimeEnv: process.env, 11});