A bot to allow simple anonymous posting on discord by forwarding DM message to a certain pre-configured channel on user's behalf.
Make sure you have the corresponding authorization. You just need to DM the bot. It will forward your message to the anonymous channel.
-
Clone
$ git clone https://github.com/8zu/anon-bot.git
-
Install dependencies
$ pip install -r requirements.txt
-
Fill in token in
config.toml
with a token from a bot user created at discord developer console. -
Run the bot
python bot.py
and wait for it to spring up -
Initialize First you need to prepare
- a role to be eligible to post anonymously, (you can also use
@everyone
) - a channel for the bot to forward message to
- header text
You can run
?init
in any channel and the bot should guide you through the initialization process
- a role to be eligible to post anonymously, (you can also use
The header supports simple substitution syntax through string interpolation
{counter}
: a monotonically increasing counter. Showing four digits (0000~9999)id
: a RNG'ed string of five digits (10000~99999). The "id" doesn't really identify the user.