Update index.ts

This commit is contained in:
Axel Olausson Holtenäs 2022-12-12 12:23:23 +01:00 committed by GitHub
parent 7b34763660
commit 6fb0c6db1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
};