Skip to content

Anonymous messaging discord bot (Now containerized)

License

Notifications You must be signed in to change notification settings

D2ans0/Voltaire-Revoltaire

 
 

Repository files navigation

Voltaire

Voltaire is a discord bot that allows you to send messages anonymously. It supports sending messages to server channels as well as sending DMs to members of the server it has been added to. Voltaire has several admin settings (which can be viewed with /volt-admin help) to allow admins to best fit the bot to their use case. When Voltaire is added to your server, type /volt-help to get a list of commands.

Add Voltaire to Your Server

Official Voltaire Discord

Built With

Deploy via script

Only requires docker and docker-compose

  1. Download deploy.sh
wget https://raw.githubusercontent.com/D2ans0/Voltaire-Revoltaire/master/deploy.sh

or

curl https://raw.githubusercontent.com/D2ans0/Voltaire-Revoltaire/master/deploy.sh -O deploy.sh
  1. Change the placeholder value in APP_TOKEN and DB_PASSWORD
  2. Make the file executable
chmod 0700 deploy.sh
  1. Run the script
sudo ./deploy.sh
  1. Enjoy

Contributing

Pull requests are welcome!

Development setup

To get running locally:

  1. Create a discord bot user
  2. Set up a sql database
  3. Create a appsettings.json file within the project's "Voltaire" directory (see example below)
  4. Run migrations
  5. Be excellent to eachother
// appsettings.json
{
  "discordAppToken": "F5OCongcjYOMXmEgrTmGDFy1Te5CUZy5ignm2DLoUUwJ1QsbfqEeOpyWBhe",
  // the emoji the bot will use when a message is sent
  "sent_emoji": "<:message_sent:491776018970050570>",
  // a 256 bit key used to generate response codes and usernames
  "encryptionKey": "PSVJQRk9QTEpNVU1DWUZCRVFGV1VVT0ZOV1RRU1NaWQ=",
  "ConnectionStrings": {
    "sql": "Server=(localdb)\\mssqllocaldb;Database=Voltaire;Trusted_Connection=True;"
  }
}

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Anonymous messaging discord bot (Now containerized)

Resources

License

Stars

Watchers

Forks

Languages

  • C# 95.9%
  • TSQL 2.3%
  • Shell 1.3%
  • Dockerfile 0.5%