From a9a70080cb9339a49bace19a4a19ef64750a7b1d Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 10 Dec 2021 17:14:49 -0500 Subject: [PATCH] warnings do not count against Community Report negatively --- src/intervals/memory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intervals/memory.ts b/src/intervals/memory.ts index 4778ef9..8c6d2ea 100644 --- a/src/intervals/memory.ts +++ b/src/intervals/memory.ts @@ -42,7 +42,7 @@ export default function memory(client: Client) { embed.addField('Memory Limit', `${String(userLimits.hard)} MB`, true); const ch = client.channels.cache.get(channelID) as TextChannel; ch.send({ embeds: [embed] }); - client.util.createModerationLog(acc.userID, (await (await client.guilds.fetch('446067825673633794')).members.fetch(client.user.id)).user, 1, `You have exceeded your resource limit of '${String(userLimits.hard)} MB'. Any process running on your user account has been sent a STOP/KILL signal. If you have any questions, please contact a Technician.`); + client.util.createModerationLog(acc.userID, (await (await client.guilds.fetch('446067825673633794')).members.fetch(client.user.id)).user, 1, `You have exceeded your resource limit of '${String(userLimits.hard)} MB'. Any process running on your user account has been sent a STOP/KILL signal. If you have any questions, please contact a Technician. DN/C`); client.util.transport.sendMail({ to: acc.emailAddress, from: 'Library of Code sp-us | Cloud Services ',