diff --git a/src/commands/registration/opts.js b/src/commands/registration/opts.js index 19c940e4..b4a86a16 100644 --- a/src/commands/registration/opts.js +++ b/src/commands/registration/opts.js @@ -13,7 +13,7 @@ module.exports = { const [_option, ...args] = command.arg.split(' '); const option = _.toUpper(_option); - if (!OPTIONS.hasOwnProperty(option)) return this.reply(500); + if (!OPTIONS.hasOwnProperty(option)) return this.reply(501, 'Unknown option command'); return OPTIONS[option].call(this, args); }, syntax: '{{cmd}}',