We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2b1b2a commit c59e191Copy full SHA for c59e191
src/commands/registration/opts.js
@@ -13,7 +13,7 @@ module.exports = {
13
const [_option, ...args] = command.arg.split(' ');
14
const option = _.toUpper(_option);
15
16
- if (!OPTIONS.hasOwnProperty(option)) return this.reply(500);
+ if (!OPTIONS.hasOwnProperty(option)) return this.reply(501, 'Unknown option command');
17
return OPTIONS[option].call(this, args);
18
},
19
syntax: '{{cmd}}',
0 commit comments