Discord.js bot for anonymous communication
Send anonymous messages to channels on servers where this bot is available.
Also you can send anonymous messages directly to users who has at least one common server with this bot.
Command | Syntax | Description |
---|---|---|
dm | !dm user_id message | Send a message to user |
send | !send channel_id message | Send a message to guild channel |
howto | !howto | Show how to copy ids |
help | !help | Show a short resume of bots features |
It is also possible to send messages from this site page.
/*
/lib/commands/*
, /lib/EventHandler.js
/lib/api/*
/www
Both of them has their own node_modules
git clone https://github.com/wvovaw/anonimalus.git
cd anonimalus
npm install
bot
sectionSERVER MEMBERS INTENT
option is enabledCreate .env
file and set DISCORD_TOKEN variable in there.
echo DISCORD_TOKEN="YourTokenGoesHere" > .env
npm start
This setup runs localy on your machine, or on VDS/VPS
Go to /www
directory and run
gridsome develop
It will run developing server with hot reload
Compile the static website to /dist
directory
npm run web-build
Before you perform deploying, add your repository as origin
git add origin https://github.com/yourname/reponame
Push the /dist
dir to the remote on gh-pages branch. The site will be avaliable at https://*yourname*.github.io/anonimalus
npm run web-deploy
Make sure the last 2 lines is not commented out in
app.js
const { start } = require('./lib/api/server');
start(eventHandler);
Change the url of POST request in
Anonimalus\www\src\components\Form.vue
axios({
method: 'post',
url: 'https://yourappname.herokuapp.com/send',
data: d
})
...