diff --git a/Dockerfile b/Dockerfile index b6efade..5c17ea4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /app COPY . /app RUN npm clean-install && \ - npm run build && \ - npm run register + npm run build CMD [ "npm", "run", "start" ] diff --git a/src/index.ts b/src/index.ts index 403a4ea..2200d20 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,6 +6,9 @@ import { CommandDefinition } from "./type"; configDotenv(); +// Load commands. +import './deploy-commands' + const client = new Client({ intents: [ GatewayIntentBits.Guilds,