From 6fb0c6db1b0f34e300a22633d195ab121a316bdd Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Mon, 12 Dec 2022 12:23:23 +0100 Subject: [PATCH 1/2] Update index.ts --- src/commands/reputation/modules/check/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/reputation/modules/check/index.ts b/src/commands/reputation/modules/check/index.ts index cf4e269..fc80d53 100644 --- a/src/commands/reputation/modules/check/index.ts +++ b/src/commands/reputation/modules/check/index.ts @@ -73,8 +73,8 @@ export default { logger.silly(createGuildMember); const reputationType = async (reputation: number) => { - if (reputation > 0) return `negative reputation of ${reputation}`; - if (reputation < 0) return `positive reputation of ${reputation}`; + if (reputation < 0) return `negative reputation of ${reputation}`; + if (reputation > 0) return `positive reputation of ${reputation}`; return "neutral reputation"; }; From c9312ee9070f04f76c7e33e8c1130df59f549131 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Mon, 12 Dec 2022 12:34:38 +0100 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8e85e9b..64aa3c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:19 AS builder +FROM node:19-alpine AS builder # Create app directory WORKDIR /app