From a1176bfa3613dd7c7e656e7bc6828d28959918b5 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 27 Dec 2019 13:59:28 -0500 Subject: [PATCH] removing group isnt required as deluser performs the operation --- src/class/Util.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/class/Util.ts b/src/class/Util.ts index 8e5aaed..086587e 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -158,7 +158,6 @@ export default class Util { this.exec(`deluser ${username} --remove-home --backup-to /management/Archives && rm -rf -R /home/${username}`), this.client.removeGuildMemberRole('446067825673633794', account.userID, '546457886440685578', 'Cloud Account Deleted'), this.client.db.Account.deleteOne({ username }), - this.exec(`groupdel ${username}`), ]; // @ts-ignore await Promise.all(tasks);