Skip to content

schwarz/discord-gather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Gather

Discord Gather is a gather/mix bot for Discord servers built with minimal abstraction, suited for simple use cases.

Design

Users interact with the bot in two ways:

  1. Sending messages to a channel such as !add or !remove
  2. Updating their presence, such as going offline

By sending !add in a bot's declared channel, a user is added to a map. Once GATHER_NEEDED users have done so, two random, equal-sized teams are printed out using mentions to alert the users. The map is cleared and the process can start again.

Should a user go offline while added, the bot will automatically remove and mention the user.

Getting Started

Assuming you have installed Go, either clone the repository and build the binary yourself or run:

$ go install github.com/schwarz/discord-gather

Which will create an executable $GOPATH/bin/discord-gather ready for use.

The bot is configured using environment variables. For an overview of all the used variables please see .env.example.

Important: The GATHER_DISCORD_TOKEN environment variable must be prefixed with Bot for bot users.

License

Discord Gather is released under the MIT License.

About

Single channel Discord gather/mix bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages