modulepackage
0.0.0-20201211222813-e8b6decf6397
Repository: https://github.com/philipbridges/flaggbot-go.git
Documentation: pkg.go.dev
# README
Flaggbot-2.0
A discord bot that uses a MongoDB for basic storage. Uses text from your discord's text chat to generate markov chains (updates with every message).
- Install packages
- Edit config.json to your liking
- Add your mongoDB address to the main.go file
- In the AutoClean function (found in handlers/messageHandler), add your text channel ID in place of the default.
- Run the bot with the "-t yourtoken" flag, or add the token to the main.go file/config.json file.
Audio functions are thanks to https://github.com/romainisnel/hertz
Commands are:
- !stop (stop all audio)
- !create (profile)
- !bet
- !clean (delete last 50 bot related messages)
- !fbux
- !broke (irreversibly resets flaggbux to 100)
- !meme
- !memecount
- !u (sound)
- !gear (sound)
- !youtube
- !mark (generates markov model from your discord text chat)
- !gen (generates a markov chain)
# Variables
Variables used for command line parameters.