[Docs] Add information about provisional status of RPC (#3862)

This commit is contained in:
Neuro Assassin
2020-05-25 15:26:46 -04:00
committed by GitHub
parent e52ff98cad
commit 87d828a1b0
3 changed files with 12 additions and 0 deletions

View File

@@ -4,6 +4,10 @@
RPC
===
.. important::
RPC support is included in Red on a provisional basis. Backwards incompatible changes (up to and including removal of the RPC) may occur if deemed necessary.
V3 comes default with an internal RPC server that may be used to remotely control the bot in various ways.
Cogs must register functions to be exposed to RPC clients.
Each of those functions must only take JSON serializable parameters and must return JSON serializable objects.

View File

@@ -20,6 +20,8 @@ which is not private (even if not documented) should not break without notice.
Anything in the ``redbot.cogs`` module or any of it's submodules is specifically
excluded from being guaranteed.
Any RPC method exposed by Red may break without notice.
If you would like something in here to be guaranteed,
open an issue making a case for it to be moved.