-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97c1235
commit 3c8d8f1
Showing
1 changed file
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# schiavo | ||
Easy discord message forward bot | ||
# Schiavo | ||
Easy discord message forward bot. | ||
This is mainly used as a logger to forward messages from other applications into discord for easy access and shameless logging. Python implementation of usage can be found [here](https://github.com/osufx/ripple-python-common/blob/master/web/schiavo.py). | ||
|
||
## Usage | ||
This bot exposes an endpoint which will forward a message to the specified discord channel. | ||
Example usage: `http://localhost:5009/general?message=Hello%20world` | ||
Sample above will send the message `Hello world` to the channel `#general` for the chosen `guild`. | ||
|
||
## Setup | ||
Install dependencies: `$ python3 -m pip install -r requirements.txt` | ||
Start bot: `$ python3 main.py` | ||
Configuration can be found and edited in `config.json` | ||
|
||
### WARNING | ||
Never allow unauthorized access to this endpoint! You are self responsible to set this up in a secure way that does not allow outsiders to access and send messages on your behalf. |