generated from nhcarrigan/template
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
GatewayIntentBits,
|
GatewayIntentBits,
|
||||||
} from "discord.js";
|
} from "discord.js";
|
||||||
import { chatInputInteractionCreate } from "./events/interactionCreate.js";
|
import { chatInputInteractionCreate } from "./events/interactionCreate.js";
|
||||||
|
import { instantiateServer } from "./server/serve.js";
|
||||||
import { logger } from "./utils/logger.js";
|
import { logger } from "./utils/logger.js";
|
||||||
|
|
||||||
const chibika = new Client({
|
const chibika = new Client({
|
||||||
@@ -38,3 +39,4 @@ chibika.on(Events.InteractionCreate, (interaction) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
await chibika.login(process.env.DISCORD_TOKEN);
|
await chibika.login(process.env.DISCORD_TOKEN);
|
||||||
|
await instantiateServer();
|
||||||
|
|||||||
Reference in New Issue
Block a user