A Discord bot covering all of the functions needed on Jexia's Discord server.
Variables | Description | Example Value |
---|---|---|
token |
The token provided by Discord to authenticate the gateway and API requests | Discord Token |
prefix |
The value prefixing the commands that are called though a Discord message | ! |
address |
The value of the API server | 0.0.0.0:80 |
Endpoints | Description | Events Supported |
---|---|---|
/github/{channelID} |
This is the endpoint for receiving GitHub's webhook payload events. Should be added as if it was a webhook. The message will be sent the the Discord channel matching channelID. | release |
Commands | Description | Permissions Required |
---|---|---|
ping |
This command simply returns the time taken to respond to an event. | none |