Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charles-m-knox/go-discord-bot
A Discord bot that does a few things I need it to do.
https://github.com/charles-m-knox/go-discord-bot
Last synced: 29 days ago
JSON representation
A Discord bot that does a few things I need it to do.
- Host: GitHub
- URL: https://github.com/charles-m-knox/go-discord-bot
- Owner: charles-m-knox
- License: mit
- Created: 2024-09-13T03:21:22.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T03:24:05.000Z (4 months ago)
- Last Synced: 2024-11-17T05:31:38.820Z (about 2 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-discord-bot
This Go module provides basic functionality for a Discord bot that provides useful capabilities in all of the Discord servers I actively assist with.
## Usage
Ensure you have Go installed first:
```bash
CGO_ENABLED=0 go build -v# prints help
./go-discord-bot -h
```## Features
- responds to `ping`/`pong` messages, but only in specified channels via the `-c` flag
- message logging into a `jsonl` file
- presence detection (server leave/join events) into a `jsonl` file
- writes scheduled events to a `json` file for subscribed servers, with periodic refreshing (defaults to checking every hour)### Future features
May implement but no guarantees:
- checking if users have no roles (they skipped onboarding and should be nudged)
- add a couple `/` slash commands
- add `/donate` command to be taken to a page to donate
- add feedback modal slash command to allow members to provide feedback/suggestions