summaryrefslogtreecommitdiff
path: root/src/commands/bot/memorystats.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/bot/memorystats.ts')
-rw-r--r--src/commands/bot/memorystats.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands/bot/memorystats.ts b/src/commands/bot/memorystats.ts
index 669ac84..fd8be76 100644
--- a/src/commands/bot/memorystats.ts
+++ b/src/commands/bot/memorystats.ts
@@ -18,7 +18,12 @@ module.exports = class MemoryStatsBot extends Command {
memberName: 'memorystats',
description: 'Checks the full, current, approximate memory usage statistics of the bot\'s Node.js process.',
userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ ownerOnly: true
});
}
run(msg: CommandoMessage) {