This commit is contained in:
Lea 2023-03-20 20:04:16 +01:00
parent 7b8f2621ad
commit 9f4cd06ebb
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

View file

@ -15,6 +15,7 @@ const DB_FILE = process.env.DB_FILE || './db.json';
const RE_USER_MENTION = /^<@[0-9A-HJ-KM-NP-TV-Z]{26}>$/i; const RE_USER_MENTION = /^<@[0-9A-HJ-KM-NP-TV-Z]{26}>$/i;
const PUBLIC_COMMANDS = ['suicide', 'status', 'help']; const PUBLIC_COMMANDS = ['suicide', 'status', 'help'];
const COMMANDS = { const COMMANDS = {
'help': 'List available commands',
'approve': 'Release users from probation', 'approve': 'Release users from probation',
'unapprove': 'Send users to probation', 'unapprove': 'Send users to probation',
'status': 'Edit the bot\'s status', 'status': 'Edit the bot\'s status',