From ba6bb87b3f3044e3bf06696f0f28a1c374ae74b5 Mon Sep 17 00:00:00 2001 From: Ale Date: Fri, 15 Mar 2024 23:33:28 +0100 Subject: [PATCH] trying to fix bugs in production ongod --- src/utils/sendAsMemberHandler.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/sendAsMemberHandler.ts b/src/utils/sendAsMemberHandler.ts index 0b239c3..ed37d69 100644 --- a/src/utils/sendAsMemberHandler.ts +++ b/src/utils/sendAsMemberHandler.ts @@ -7,7 +7,6 @@ export default async function sendAsMember(message: Message, database: Database) const memberRepo: MemberRepo = new MemberRepo(database); let members: MemberModel[]; await memberRepo.getAltersByUserId(message.author.id).then(result => members = result); - if (members === undefined) {return} members.forEach( async alter => { const pre_prefix = alter.prefix.split("text");