diff --git a/.nvmrc b/.nvmrc index 5397c87f..87834047 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.18.1 +20.12.2 diff --git a/Dockerfile b/Dockerfile index 7bd26105..81989285 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.18.1-slim AS deps +FROM node:20.12.2-slim AS deps WORKDIR /app @@ -10,7 +10,7 @@ COPY src ./src RUN yarn install --frozen-lockfile RUN npm run build -FROM node:16.18.1-slim +FROM node:20.12.2-slim WORKDIR /app diff --git a/src/v2/commands/index.ts b/src/v2/commands/index.ts index 5efb0e14..bc02beeb 100644 --- a/src/v2/commands/index.ts +++ b/src/v2/commands/index.ts @@ -116,7 +116,6 @@ export const registerCommands = async (client: Client): Promise => { }); } } catch (error) { - console.error(error); await interaction.reply({ ephemeral: true, content: 'Something went wrong when trying to execute the command',