[V3 RPC] Add basic RPC functionality (#1017)

* Add basic RPC functionality

* Add load/unload/reload rpc commands

* Reorganize without rpc_ready event

* Remove rpc ready event

* Removed bot reference from rpc module

* Close RPC server cleanly

* refactor bot

* Refactor a bit and make RPC server initialization based on a cli flag

* Fix version resolver

* standardize version getters

* Pick a new port number
This commit is contained in:
Will
2017-10-27 20:55:41 -04:00
committed by GitHub
parent 8d8e1c61d8
commit f459a21bef
9 changed files with 175 additions and 8 deletions

12
docs/framework_events.rst Normal file
View File

@@ -0,0 +1,12 @@
.. framework events list
=============
Custom Events
=============
RPC Server
^^^^^^^^^^
.. py:method:: Red.on_shutdown()
Dispatched when the bot begins it's shutdown procedures.