diff --git a/src/commands/whois.ts b/src/commands/whois.ts index 3375075..2fa0693 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -66,6 +66,7 @@ export default class Whois extends Command { if (details) embed.addField('Additional Details', details, true); embed.setTimestamp(); + embed.setFooter('Library of Code | Cloud Services', message.guild.iconURL()); return message.channel.send({ embeds: [embed] }); } catch (error) { return this.client.util.handleError(error, message, this); @@ -103,6 +104,7 @@ export default class Whois extends Command { this.client.util.exec(`memory ${account.username}`), ]); + embed.setDescription('*CPU Usage and Memory are fetched in real-time, storage information is cached.*'); embed.addField('Username', `${account.username} <<@${account.userID}>>`, true); embed.addField('Discord ID', account.userID, true); embed.addField('Tier', String(account.tier), true); diff --git a/src/models/Tier.ts b/src/models/Tier.ts index 4bf81ed..d44a758 100644 --- a/src/models/Tier.ts +++ b/src/models/Tier.ts @@ -21,3 +21,7 @@ const Tier = new Schema({ }, { id: false }); export default model('Tier', Tier); + +(new this.client.db.Tier({ id: 0, { resourceLimits: { ram: 10000, storage: 50000 } } })) + +(new this.client.db.Tier({ id: 0, resourceLimits: { ram: 10000, storage: 50000 } }));