fix memory checking issue
parent
c5ddad81c7
commit
c4541b7ec0
|
@ -24,7 +24,6 @@ export default function memory(client: Client) {
|
|||
const mem = Number(await client.util.exec(`memory ${acc.username}`)) * 1000;
|
||||
// memory in megabytes
|
||||
const memoryConversion = mem / 1024 / 1024;
|
||||
console.log(memoryLimits);
|
||||
const userLimits: { soft?: number, hard?: number } = {};
|
||||
switch (acc.tier) {
|
||||
case 1:
|
||||
|
@ -42,7 +41,6 @@ export default function memory(client: Client) {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
console.log(userLimits);
|
||||
|
||||
/* if the user has exceeded their soft memory limit, which is the one described in the
|
||||
resource limit guidelines, we'll inform staff.
|
||||
|
|
Loading…
Reference in New Issue