fantastic_spoon_dc/seyfert.config.ts

16 lines
557 B
TypeScript

import { config } from "seyfert";
export default config.bot({
token: process.env.DC_TOKEN ?? "",
locations: {
base: "src",
commands: "commands",
events: "events",
components: "components",
},
intents: ["Guilds"],
// This configuration is optional, in case you want to receive interactions via HTTP
// This allows you to use both the gateway and the HTTP webhook
publicKey: process.env.PUBLIC_KEY ?? "", // replace with your public key
port: 3275, // replace with your application's port
});