diff options
-rw-r--r-- | data/modules.example.conf | 2 | ||||
-rw-r--r-- | docs/RPC/jsonrpc.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf index 243f77e09..d503d771f 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -801,6 +801,8 @@ module * By itself this module does nothing. You should load a RPC method module like * rpc_data which actually provides RPC methods. * + * See docs/RPC/jsonrpc.js for an example JavaScript JSON-RPC client. + * * IMPORTANT: this can not be loaded at the same time as the xmlrpc module. */ #module diff --git a/docs/RPC/jsonrpc.js b/docs/RPC/jsonrpc.js index 76c284553..cbb4d954a 100644 --- a/docs/RPC/jsonrpc.js +++ b/docs/RPC/jsonrpc.js @@ -8,7 +8,7 @@ class AnopeRPC { * Initializes a new AnopeRPC instance with the specified RPC host. * * @param {string} The RPC host base URL. - * @param {token} The bearer token for authorizing with the RPC token. + * @param {token} The bearer token for authorizing with the RPC interface. */ constructor(host, token = "") { this.host = host; |