commit
c1f5975fb1
@ -256,7 +256,7 @@ class RPC extends RPCBase {
|
|||||||
|
|
||||||
async help(args, _help) {
|
async help(args, _help) {
|
||||||
if (args.length === 0)
|
if (args.length === 0)
|
||||||
return 'Select a command.';
|
return `Select a command:\n${Object.keys(this.calls).join('\n')}`;
|
||||||
|
|
||||||
const json = {
|
const json = {
|
||||||
method: args[0],
|
method: args[0],
|
||||||
|
|||||||
@ -173,7 +173,7 @@ class RPC extends RPCBase {
|
|||||||
|
|
||||||
async help(args, _help) {
|
async help(args, _help) {
|
||||||
if (args.length === 0)
|
if (args.length === 0)
|
||||||
return 'Select a command.';
|
return `Select a command:\n${Object.keys(this.calls).join('\n')}`;
|
||||||
|
|
||||||
const json = {
|
const json = {
|
||||||
method: args[0],
|
method: args[0],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user