A professional Discord bot designed to manage your server's AFK users effectively. Disconnects users from the configured AFK channel automatically, keeping your server active and organised.
- 🔄 Auto-disconnects users from AFK channels.
- 🌐 Multi-server support with independent configurations.
- 🌎 Multi-language support: Includes English, Spanish, French, and more.
- 🛠️ Configurable roles and channels using simple commands.
- 📊 Periodic updates to ensure accurate server data.
Before you start, ensure you have the following installed:
- 📦 Node.js (version 16 or later).
- 🧶 Yarn (recommended for this project).
- 🔑 A valid Discord bot token (get yours from the Discord Developer Portal).
git clone https://github.com/loadsec/AFK-Remover-Discord-Bot.git
cd afk-remover-bot
yarn install
npm install
Create a .env
file in the root directory and add the following:
BOT_TOKEN=your-bot-token
CLIENT_ID=your-bot-client-id
Replace your-bot-token
and your-bot-client-id
with your bot's token and client ID from the Discord Developer Portal.
yarn start
npm start
- 📋 Description: Configure the bot for your server.
- 🔧 Options:
channel
: Set the AFK voice channel (name or ID).roles
: Specify roles allowed to modify configurations (comma-separated).language
: Choose the server's language.
- 📜 Description: Display the current AFK settings for the server, including the channel, roles, and language.
The bot supports multiple languages! You can find translation files in the translations
directory. To add a new language:
- 📁 Create a new
.json
file in thetranslations
folder (e.g.,es.json
for Spanish). - 📝 Follow the structure of existing translation files.
We ❤️ contributions!
- Fork the repository.
- Make your changes.
- Submit a pull request with a detailed description.
If you encounter any issues, feel free to open an issue or reach out to the contributors.
🌟 Thank you for using AFK Remover Bot! 🌟