Skip to content

Automatically kicks a user if they haven't sent any messages for a specific time.

License

Notifications You must be signed in to change notification settings

Ishidres/discord-inactive-user-kick

Repository files navigation

Discord Inactive User Kick

A simple Discord bot to automatically kick inactive server members created for this reddit post.

Setup

  • install Node.js
  • install discord.js@11.6.4 using npm i discord.js@11.6.4
  • 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!

Unsure?

You can set testing to true in config.json to only simulate kicks without actually kicking a user to test it first.

Questions

You can ask me, the bot's developer, for help if you need it. Use my website or the badges below to contact me:

Twitter Patreon GitHub followers

Contributing

Thanks for using this repository! If you appreciate it or want to support its development, feel free to contribute by:

License

This project is licensed under the MIT License. For more information please have a look at the LICENSE file.

About

Automatically kicks a user if they haven't sent any messages for a specific time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published