An open-source confessions Discord bot for anonymous messaging
There already exists a confessions bot. However, it's proprietary, and they store the authors of all anonymous messages. That's like telling a complete stranger, "hey, can you tell my friend a secret?"
Additionally, the existing has some limitations such as 2 maximum channels that you have to pay to bypass. This bot aims to provide the same features they charge for, for free.
This bot was made for people to anonymously talk about things they feel uneasy about to friends (essentially anonymous group therapy) but it can be used for a lot of things.
-
Clone this repository on your own server using
git clone https://github.com/Quadragintillion/openconfessions -
Install Ruby (on Debian, this is
rubyandruby-dev) -
Create an application and a bot for the application on Discord's developer page and copy the token into
token.secret. The file should contain nothing but the token. You may want to adjust the permissions so other users cannot view its contents. -
Set up the commands with
bundle exec ruby register-commands.rb -
Finally, run the bot with
bundle exec ruby confessions.rb. It's recommended to usescreenso it runs in the background instead of stopping when your terminal is closed.