forked from engineering/cloudservices
fixes for stuff
parent
deb2c0fc20
commit
c690a5425b
|
@ -66,7 +66,9 @@ export default function memory(client: Client) {
|
||||||
embed.addField('Memory Limit', `${String(userLimits.hard)} MB`, true);
|
embed.addField('Memory Limit', `${String(userLimits.hard)} MB`, true);
|
||||||
embed.setFooter(client.user.username, client.user.avatarURL);
|
embed.setFooter(client.user.username, client.user.avatarURL);
|
||||||
embed.setTimestamp();
|
embed.setTimestamp();
|
||||||
await client.createMessage(channelID, { embed });
|
if (acc.ramLimitNotification !== 0) {
|
||||||
|
await client.createMessage(channelID, { embed });
|
||||||
|
}
|
||||||
if ((memoryConversion >= acc.ramLimitNotification) && (acc.ramLimitNotification !== 0)) {
|
if ((memoryConversion >= acc.ramLimitNotification) && (acc.ramLimitNotification !== 0)) {
|
||||||
const notifyEmbed = new RichEmbed()
|
const notifyEmbed = new RichEmbed()
|
||||||
.setTitle('Cloud Account | Notification')
|
.setTitle('Cloud Account | Notification')
|
||||||
|
|
Loading…
Reference in New Issue