An open API service indexing awesome lists of open source software.

https://github.com/jexia/discord-bot

A Discord bot covering all of the functions needed on Jexia's Discord server.
https://github.com/jexia/discord-bot

Last synced: 2 months ago
JSON representation

A Discord bot covering all of the functions needed on Jexia's Discord server.

Awesome Lists containing this project

README

          

[![Go Report Card](https://goreportcard.com/badge/github.com/jexia/discord-bot?style=flat-square)](https://goreportcard.com/report/github.com/jexia/discord-bot)
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://pkg.go.dev/github.com/jexia/discord-bot)
[![Release](https://img.shields.io/github/release/jexia/discord-bot.svg?style=flat-square)](https://github.com/jexia/discord-bot/releases/latest)
[![Chat on Discord](https://img.shields.io/badge/chat-on%20discord-7289da.svg?style=flat-square&sanitize=true)](https://chat.jexia.com)

# Jexia Discord Bot

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_ |