import { config } from "dotenv"; config({ quiet: true }); export const DISCORD_TOKEN = process.env.DISCORD_TOKEN as string; export const APPLICATION_ID = process.env.APPLICATION_ID as string; export const GUILD_ID = process.env.GUILD_ID as string; export const TYPECAST_TOKENS = (process.env.TYPECAST_TOKEN as string).split( ",", ); export const DATABASE_URL = process.env.DATABASE_URL as string; export const SUPERTONIC_DEFAULT_VOICE = (process.env.SUPERTONIC_DEFAULT_VOICE as string | undefined) ?? "Q1"; export const SUPERTONIC_STYLE_LIST: { name: string; value: string }[] = (() => { return ( (JSON.parse(process.env.SUPERTONIC_STYLE_LIST ?? "null") as any) ?? [ { name: "여성1", value: "F1" }, ] ); })();