A simple Discord bot to automatically kick inactive server members created for this reddit post.
- install Node.js
- install [email protected] using
npm i [email protected]
- create a new Discord bot here
- add the bot's token to
config.json
and adjuste the configuration - run the bot by using
nohup node index.js &
or any other command you prefer
Note: The bot uses JSON as a "database" which is not recommended for very large Discord servers with lots of members. In that case, please use MySQL. Servers with under 100K users can ignore this warning.
Feel free to improve the bot using pull requests!
You can set testing
to true
in config.json
to only simulate kicks without actually kicking a user to test it first.
You can ask me, the bot's developer, for help if you need it. Use my website or the badges below to contact me:
Thanks for using this repository! If you appreciate it or want to support its development, feel free to contribute by:
- 👐 submitting pull requests with improvements
- ⭐️ starring the project
- ➕ following Ishidres
This project is licensed under the MIT License. For more information please have a look at the LICENSE file.