Cachcord is an utility script used by the Carpe Noctem Tacical Operations community (http://carpenoctem.co) to provide Cachet component status updates to a given Discord channel, using the Cachet API in one side, and a Discord Webhook in the other.
- Python 3.5
- Third-party libraries defined in the
setup.py
file.
To install the script in your environment (using a virtualenv
is
recommended), download the source code and run the following command from
the source's root directory.
$ pip install .
$ cachcord --help
usage: cachcord [-h] [--debug] --config-path CONFIG_PATH --persist-path
PERSIST_PATH
Cachet to Discord synchronisation script
optional arguments:
-h, --help show this help message and exit
--debug Set debugging on
--config-path CONFIG_PATH
Path of the configuration file
--persist-path PERSIST_PATH
Path of the persistence file
To properly configure the script you must create a configuration file following a ini-like syntax. An example is available in the cachcord.ini.dist file.
Please refer to Cachet's API documentation as well as Discord's developper documentation in order to configure the API URL as well as the webhook url, respectively. ======================