aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/mod/unban.js
diff options
context:
space:
mode:
authorNeel Kamath <neelkamath@protonmail.com>2018-05-13 12:33:22 +0200
committerNeel Kamath <neelkamath@protonmail.com>2018-05-13 12:33:22 +0200
commit343157350f627b9495184246a90033a1c41f1a2c (patch)
treee8688471fbee2bdcd5834abcb559ea1694eecadf /server/src/commands/mod/unban.js
parentUse the 'use strict' directive when needed (diff)
downloadhackchat-343157350f627b9495184246a90033a1c41f1a2c.tar.gz
hackchat-343157350f627b9495184246a90033a1c41f1a2c.zip
Re-add module documentation
Diffstat (limited to 'server/src/commands/mod/unban.js')
-rw-r--r--server/src/commands/mod/unban.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/src/commands/mod/unban.js b/server/src/commands/mod/unban.js
index 5450858..e82f0b9 100644
--- a/server/src/commands/mod/unban.js
+++ b/server/src/commands/mod/unban.js
@@ -48,4 +48,8 @@ exports.run = async (core, server, socket, data) => {
core.managers.stats.decrement('users-banned');
};
-exports.info = { name: 'unban' };
+exports.info = {
+ name: 'unban',
+ usage: 'unban {[ip || hash]}',
+ description: 'Removes target ip from the ratelimiter'
+}; \ No newline at end of file