https://github.com/nanvenomous/chord
A declarative way to spin up a simple discord bot with a map of possible responses and a single background process for sending unprompted messages.
https://github.com/nanvenomous/chord
Last synced: 7 months ago
JSON representation
A declarative way to spin up a simple discord bot with a map of possible responses and a single background process for sending unprompted messages.
- Host: GitHub
- URL: https://github.com/nanvenomous/chord
- Owner: nanvenomous
- Created: 2021-01-18T04:38:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T19:48:12.000Z (over 4 years ago)
- Last Synced: 2025-01-25T19:30:42.508Z (9 months ago)
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Description
A declarative way to spin up a simple discord bot with a map of possible responses and a single background process for sending unprompted messages.
# Installation
> go get github.com/mrgarelli/chord### Dependencies
> go get github.com/bwmarrin/discordgo# Usage
[see example in test file](https://github.com/mrgarelli/chord/blob/master/chord_test.go)add information for your bot
```
_, err := NewChord(
"", // token (no need to add "Bot" prefix, we'll do that for you)
"", // guild
"", // channel (usually "general")
```> go mod tidy
> go test