Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 1.28 KB

README.md

File metadata and controls

34 lines (30 loc) · 1.28 KB

ClanEventsBot

Go Report Card

Description

Open Source Discord Bot written in Go. This is a simple bot that provides some calendar functionality to a Discord server enabling users to create and sign up to events.

Resources

Link Information
Discord Developers Register a bot account with Discord!
Discord Go DiscordGo Library by: bwmarrin
Discord Go (Go Docs) Godocs collection for DiscordGo
mgo Rich MongoDB driver for Go

Configuration

The ClanEventsBot.yaml file contains three entries for configuration: Token -> Discord Bot Token CommandPrefix -> The character that the bot expects commands to be prefixed with MongoDB -> The address of the MongoDB server that serves as the datastore for the bot

Database

The bot uses a MongoDB database and expects a database named ClanEvents with a collection named Events to be defined.

Commands

help
listevents
details
newevent
cancelevent
signup
leave
impersonate
unimpersonate