Bot Discord siêu gọn để kích hoạt huy hiệu Active Developer.
Chỉ cần chạy bot → gọi lệnh /ping → /active → claim huy hiệu.
- Node.js 18+ hoặc mới hơn
- Một bot Discord đã tạo trong Developer Portal
- Token bot, Client ID, Guild ID (ID server bạn muốn test)
- Clone hoặc tải project về
- Cài thư viện cần thiết:
npm install discord.js dotenv
Tạo file .env trong thư mục bot
TOKEN=token_bot_của_bạn
CLIENT_ID=id_app_của_bạn
GUILD_ID=id_server_của_bạn
node index.js Bot sẽ: Đăng ký lệnh /ping Đăng ký lệnh /active
/ping → Test bot hoạt động /active → Lấy link claim huy hiệu
Link claim: https://discord.com/developers/active-developer