#Debugging theo's whatsapp problems in peace

1 messages · Page 1 of 1 (latest)

pliant bison
#

No luck, it sees my changes but then doesn't behave any different

long garnet
#

okay at least web works so it's a whatsapp thing

#

I did see reports that some numbers make troubles, but that were like 2 so far

pliant bison
#

Yeah also self messaging is working too

#

It's just messaging others that doesn't get picked up at all

steady gate
#

Use telegram, it’s way better

long garnet
#

did you add a + before"

pliant bison
pliant bison
long garnet
#

easier

pliant bison
#

Oh shit, will just use that then

long garnet
#

you text @botfather

steady gate
#

It has more features

long garnet
#

get a token

#

and then you add that to your env or the config

#

whatsapp is hacked protcol or twilio and both is annoying

#

I'm about to merge MS Teams too tho ☠️

past lichen
#

Yeah - telegram is much easier to set up, and you can throw Clawd into a group and create topics which will have isolated contexts

#

+telegram has an official bot api, so it works seamlessly

#

You message @botfather on telegram, it’ll give you the token, and you give it to Clawd to set up

  • if you do do groups, just go to settings and disable group privacy for it to get all messages, not just the ones that @ it
long garnet
#

we have streaming there now

#

clawdbot configure

pliant bison
#

Okay it saw that but didn't reply, in pairing mode

long garnet
#

perfect

pliant bison
#

Is there something I'm missing around doing pairing? I can't get messages back still on telegram

long garnet
#

this is how it should look like

pliant bison
#

Where do you get that number from?

long garnet
#

when you text your bot in telegram

past lichen
#

It sends it as reply in telegram

pliant bison
#

I got nothing back in telegram

past lichen
#

You may need to write /start

pliant bison
#

That's the problem

long garnet
#

did you create a bot?

pliant bison
#

Yes, that's what I am dming

long garnet
#

did you set a token?

pliant bison
#

It's marking messages as read. I set the token yes

long garnet
#

Open Telegram and chat with @BotFather

#

/newbot

#

Copy the token and store it safely

#

add the token via clawdbot configure

past lichen
long garnet
#

just update the npm, i fucked that up an hour ago and did the release now again.

#

bun... everytime I try to get it working stuff epxlodes

past lichen
#

You can try and message @claudius_the_third_bot on Telegram, it’s in pairing mode to do a quick sanity check that things go through

past lichen
#

For me it was pnpm clawdbot -- version

pliant bison
#

I really need to sleep, I think I'm giving up for now after this attempt. Frustrated because everything worked fine when I set this up on another machine yesterday with whatsapp in self message mode 🙃 appreciate the effort regardles

long garnet
#

easy to test. run npm i -g clawdbot first so it's updated, then npm i -g clawdbot, then in a terminal clawdbot gateway ... then you see logs

pliant bison
#

Did I just pull a bad update? 🙃

long garnet
#

then it's easy to see what is wrong, if the whatsapp or telegram stuff rejects or restarts.

pliant bison
#

How do I most easily nuke the git clone based install?

long garnet
#

ah you run git or npm?

pliant bison
#

I did the git based, want to move to npm based

past lichen
#

Also clawdbot doctor should give you a full image

pliant bison
long garnet
#

nothing is installed, just do daemon uninstall for the launchd stuff

pliant bison
#

I need to go to bed like an hour ago, so sadly can't debug more rn. Will debug more tomorrow. Thank you all for the help regardless 🫡

long garnet
#

worst onboarding ever ducks

#

Thanks for trying!

ancient pecan
#

Hey @long garnet is this related to whatsapp not working when sending messages from android, but it does when sending from web? I also ran into this telegram issue, but after reinstalling with your latest changes it worked just fine on telegram, but I'm trying to make it work on whatsapp to showcase this to my business partners that don't have telegram... any hints or ideas?!

#

btw, awesome work man, I've been creating something similar in the past, but what you've achieved here is just... you may have unlocked something here haha

long garnet
ancient pecan
pliant bison
#

This appears to be working now with the latest version from npm 🫡

steady gate
#

On telegram?

long garnet
#

wooohooo!