diff --git a/src/intervals/memory.ts b/src/intervals/memory.ts index 470a160..64adef3 100644 --- a/src/intervals/memory.ts +++ b/src/intervals/memory.ts @@ -66,7 +66,9 @@ export default function memory(client: Client) { embed.addField('Memory Limit', `${String(userLimits.hard)} MB`, true); embed.setFooter(client.user.username, client.user.avatarURL); embed.setTimestamp(); - await client.createMessage(channelID, { embed }); + if (acc.ramLimitNotification !== 0) { + await client.createMessage(channelID, { embed }); + } if ((memoryConversion >= acc.ramLimitNotification) && (acc.ramLimitNotification !== 0)) { const notifyEmbed = new RichEmbed() .setTitle('Cloud Account | Notification')