7

Chatgpt in my Whatsapp chat!!

Thx to the unofficial chatgpt npm package

Comments
  • 1
    There is a ChatGPT npm package? 👀
  • 1
  • 1
  • 1
    @100110111 yess. Its using the magic of puppeteer again and even fills in email and password byitself. U can watch it doing it lol
  • 2
    @joewilliams007 this one, I assume:

    https://npmjs.com/package/chatgpt/

    (There seem to be plenty of chatgpt packages in npm)
  • 4
    @100110111 yess that one.

    Btw im running the bot on a raspberry where chrome is not available soo i had to edit the package to use chromium instead of chrome. (If this would apply to u)
  • 1
    Nice haha, can you maybe give me a pointer for making a WhatsApp bot? I researched it a while ago but didn't reallly seem possible? Iv made telegram bots before
  • 1
    @Jifuna Whatsapp-web.js library is very good and what i am using. Documentation is also good.

    https://github.com/pedroslopez/...

    Keep in mind, Whatsapp doesnt allow bots and you can get your number banned if the bots spams in many groups (like sending 200 messages/hour). In that case though just contact support they always unban you lol.

    If you dont have a second number, i think in a recent update they added an option to also work if the message is from urself but i havent tried that yet.
  • 1
    @joewilliams007 lol haha, didn't think of this method yet. Thanks! This helped me a lot. Maybe I will fuck around with my own number than or get a cheap second phonenumber from somewhere
Add Comment