Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
/ cachcord Public archive

Cachet to Discord status update bot

License

Notifications You must be signed in to change notification settings

CntoDev/cachcord

Repository files navigation

Carpe Noctem Tactical Operations Cachet to Discord integration script

Build Status Codacy Grade Codacy Coverage Requirements Status

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.

Requirements

  • Python 3.5
  • Third-party libraries defined in the setup.py file.

Installation

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 .

Usage

$ 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

Configuration

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. ======================

About

Cachet to Discord status update bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published