forked from engineering/cloudservices
warnings do not count against Community Report negatively
parent
8615d61815
commit
a9a70080cb
|
@ -42,7 +42,7 @@ export default function memory(client: Client) {
|
||||||
embed.addField('Memory Limit', `${String(userLimits.hard)} MB`, true);
|
embed.addField('Memory Limit', `${String(userLimits.hard)} MB`, true);
|
||||||
const ch = client.channels.cache.get(channelID) as TextChannel;
|
const ch = client.channels.cache.get(channelID) as TextChannel;
|
||||||
ch.send({ embeds: [embed] });
|
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({
|
client.util.transport.sendMail({
|
||||||
to: acc.emailAddress,
|
to: acc.emailAddress,
|
||||||
from: 'Library of Code sp-us | Cloud Services <help@libraryofcode.org>',
|
from: 'Library of Code sp-us | Cloud Services <help@libraryofcode.org>',
|
||||||
|
|
Loading…
Reference in New Issue