Skip to content

A simple WhatsApp bot using Nodejs to get your sheepit-renderfarm stats

License

Notifications You must be signed in to change notification settings

usr577/Sheepit-stats-WhatsApp-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sheepit-stats-whatsapp-bot

A simple WhatsApp bot written in JavaScript using Venom-bot to send you the current stats of your sheepit-renderfarm account (Note, if you want to use it yourself 2 phone numbers are required, one for the bot and one for you to chat with it.) To connect the bot without having to "switch accounts" in the WhatsApp app you can use "WhatsApp Business" or a app like "Paralell Space" to create a copy of your normal WhatsApp.

Setup:

  1. Download the main.js file and create an empty file called cookie.txt in the same directory.
  2. Change directory to where main.js and cookie.txt are located.
  3. Install https://github.com/orkestral/venom using npm i --save venom-bot.
  4. Run main.js using node main.js.
  5. Scan the QR-code that appers in the terminal using WhatsApp.

Registration

To register your account:

  1. Download the cookiehelper.py file
  2. Change the username and password variables accordingly
  3. Run it with python3
  4. Send /cookie username Cookie: REMEMBERME=<your value from coockiehelper>; PHPSESSID=<your value from coockiehelper> to your bot

Commands

Command Syntax Usage
/stats "/stats" Get your stats
/cookie "/cookie username Cookie: ..." "Register" your account on your bot
/delcookie "/delcookie" "Unregister" your acoount on your bot

Notes

  1. The Solution with the cookies isn't perfect and I will be working on implementing cookiehelper in the main.js file
  2. Feel free to share any bugs you may encounter
  3. At the moment you can only use one account per phone number

About

A simple WhatsApp bot using Nodejs to get your sheepit-renderfarm stats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published