Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: bot sending message many times #276

Open
miannoodle01 opened this issue May 5, 2023 · 4 comments
Open

BUG: bot sending message many times #276

miannoodle01 opened this issue May 5, 2023 · 4 comments

Comments

@miannoodle01
Copy link

Hello! It's me again! I wrote a bot using the api but it turned out to be bugged; The issue is that the bot sending one message rapidly to specific chat ( that i hadn't told the bot to send a message to a chat at all! ). i took screen shot from both admin and user part for you that you can understand my words better, i wrote this bot in purpose of transfer a message from a channel subscriber to the admin of the channel. This is my code which i posted it in my github:
https://github.com/yourAnonDH/telegramAdminMessageReceiver

the reason i didn't pasted my code here is that the github didn't marked all of my code AS A CODE so i had to write my github link, my apologies. I will be glad if you help me with this thing out! thanks! i will give you some screenshots below:
admin
this is admin part which you can see everything is normal.
user
and this is the user part which the bug appears here, in the link i wrote above ( which is my code of this bot there ), there is no part to command the bot to send users message to him/herself, but the bot doing it in on its own! And of course sending it multiple times!

@reo7sp
Copy link
Owner

reo7sp commented Jun 4, 2023

Please try again now with version from commit 36a7f07

@miannoodle01
Copy link
Author

miannoodle01 commented Jun 5, 2023

@reo7sp Hello! Okay sure, now that im writing this message its midnight here, will try tomorrow ASAP, thanks for your care!💙

@miannoodle01
Copy link
Author

@reo7sp btw can you please add deep linking feature to bot please?

@miannoodle01
Copy link
Author

@reo7sp I tried the solution you introduced, and it is not working and the same bug is appearing. what i did is i downloaded your latest repo update then built and installed it, the output showed some of codes are updated, then i tried again, i ran the bot on a debian 11 up-to-date vps, the same bug occurred so am posting screenshots of both admin and user side here:
admin ( which everything is normal ):
Screenshot_2023-06-07_13-46-12
Screenshot_2023-06-07_13-46-36

and the user side where the bug appears:
photo_2023-06-07_13-56-30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants