const rateLimit = new Map(); // Implement cooldown for commands
pm2 list # View all processes pm2 logs whatsapp-bot # View logs pm2 restart whatsapp-bot # Restart bot pm2 stop whatsapp-bot # Stop bot pm2 delete whatsapp-bot # Remove bot bot whatsapp termux github
Run the bot using the following command: const rateLimit = new Map(); // Implement cooldown
Example .env :
Many bots have a config.js or settings.json file: const rateLimit = new Map()
: Turn images or videos into stickers and vice versa.