Refactor Dockerfile to remove command registration step and update index.ts to load commands from deploy-commands
This commit is contained in:
@@ -6,6 +6,9 @@ import { CommandDefinition } from "./type";
|
||||
|
||||
configDotenv();
|
||||
|
||||
// Load commands.
|
||||
import './deploy-commands'
|
||||
|
||||
const client = new Client({
|
||||
intents: [
|
||||
GatewayIntentBits.Guilds,
|
||||
|
||||
Reference in New Issue
Block a user