Closed Dagdelo closed 5 years ago
i can't send nothing for him
How so? I'm gonna need more than that
Are you running with or without an interface on target computer?
Can you actually send messages and are they are received?
See: The bot says: I'm up! But when I send a message from the same computer as the server, or from the phone him don't respond.
That is fairly strange. It outputs <Divide>PC
.
That is fairly strange. It outputs
<Divide>PC
.
It's because I typed the '/pc' on Telegram window. É porque eu escrevi '/pc' na janela do Telegram.
I must ask, have you double-checked that chat_id is really your chat_id
? It should respond if and only if the chat_id that talked to the bot is contained in the known_ids
variable. If there are no known_id
s then it should respond to anyone.
Yeah. I double checked with @my_id_bot he answered the same id.
I rarely work on this project anymore but I'd try and fiddle with the known_ids list if I were you
The problem was that I had put the id as int not as string. After put as string worked as expected.
Good idea, happy you solved it.
I get my chat_id, put in knows_ids list and after that the bots says: "DESKTOP-01: I'm up." DESKTOP-01 is my pc that are running the server, but i can't send nothing for him... What I'm doing wrong?