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.
- Main codebase
/*
- Bot
/lib/commands/*
,/lib/EventHandler.js
- Api
/lib/api/*
- Bot
- Website
/www
Both of them has their own node_modules
git clone https://github.com/wvovaw/anonimalus.git
cd anonimalus
npm install
- Go to devportal
- Create new app, go to
bot
section - Copy a secret token
- Make sure
SERVER MEMBERS INTENT
option is enabled - Save
Create .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
- Fork this repo
- Sign up on Heroku
- Connect your github
- Create new dino from your github repo
- Add DISCORD_TOKEN in variables (how to)
- Sign up here and create a cron job that will ping your app every 15-30 minutes to keep your app alive
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
})
...