Skip to content

brutiv/Buoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buoy

A Discord bot for running giveaways, written in Go with MongoDB for storage.

Features

  • Create, end, reroll, delete, and list giveaways.
  • Customizable embed messages with variables like {user}, {prize}, {duration}, {channel}, {winners}, and {nl}.
  • Automatic giveaway watcher to end giveaways when they expire.

Requirements

  • Go 1.20+
  • MongoDB
  • Discord bot token

Setup

  1. Clone the repository:

    git clone https://github.com/brutiv/buoy.git
    cd buoy/src
  2. Create a .env file:

    DISCORD_TOKEN=your_bot_token
    MONGO_URI=mongodb://username:password@host:port
    REDIS_ADDR=rediss://default:password@host:port 
  3. Install dependencies:

    go mod tidy
  4. Run the bot:

    go run main.go

Usage

Use /giveaway commands to manage giveaways in your server.

About

Discord Giveaway Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages