I would like you to build me an automated telegram engagement group bot. We have hundreds of accounts that want to participate an a likes/comments engagement group. Probably a Dx5 or Dx10 group. I want the bot to automatically check for leechers, warn people and ban people. I also want to be able to post in the group without having to meet the same requirements to like/comment everyone else in my group has too. If you would like to talk more look me up on Instagram and DM me. @igbrandbuilder
Hello! I have the KeyError where updates=updates['result']. Please help! Otherwise throws no errors. I am upset, it worked nicely at first Earlier I had an error at line 8, in __init__ self.token = self.read_token_from_config_file(config) TypeError: read_token_from_config_file() takes 1 positional argument but 2 were given BUT: pylinting helped to eliminate the error. As well as there was an error at , line 3, in bot=telegram_chatbot("config.cfg") Py-linting also helped
you should try writing blogs as well in the side so programmers who re following you will refer to it without missing any instrution or we guys can crosschecck
Traceback (most recent call last): File "C:/Users/thispc/PycharmProjects/telegrambot/server.py", line 16, in updates = updates["result"] KeyError: 'result' what changes i do this ???
u know, my husband came home from work and helped me out. If you wrote the code by the video there are a couple of mistakes: You should remove slashes in these lines: 'getUpdates?timeout=100' and 'sendMessage?chat_id={}&text={}' because the slash is already present here. "api.telegram.org/bot{}/" BUT the source code goes without slashes. if it raises errors it may be some temporary problems with config. Yesterday teacher's code also threw errors (without slashes), today it works well
Traceback (most recent call last): File "server.py", line 24, in from_ = item["message"]["from"]["id"] KeyError: 'message' I'm getting this error when I run "server.py"
Hi, my bot reply is not working.need to update the JSON file each time. What to do to make an automatic reply to the user? How to make this bot intelligent? Need help on this plzz..
Found an issue: File "server.py", line 3, in bot = telegram_chatbot("config.cfg") File "C:\Users\Wesley\Desktop\bot project\bot.py", line 8, in __init__ self.token = self.read_token_from_config_file(config) TypeError: read_token_from_config_file() takes 1 positional argument but 2 were given
Hey! I faced a similar issue. I found that it was because of an extra '/' in the get_updates method. In the base URL, he has already added a '/' at the end. At 6:56, he's added another one. I removed that and it worked. Check out his GitHub code, as it's corrected there!
I was following your steps while making the bot but the screen that comes in my browser of type that is at 2.54 in your video , how to convert in way you have done in json ??
Hi....I am getting the following error when i try to run the code in python anywhere. Can you please help? Traceback (most recent call last): File "/home/gjagan/TelegramChatbot/server.py", line 25, in reply = make_reply(message) File "/home/gjagan/TelegramChatbot/server.py", line 10, in make_reply reply = gizoogle.text(msg) File "./gizoogle.py", line 15, in text giz_text = giz[39].strip(" ") # Hacky, but consistent. IndexError: list index out of range
hello my friend.. i was copy your codes and i notices that you have a diffrent code and it appear on 8:05 on the video. i copied it and the Teminal says me that "takes 1 positional argument but 2 were given" by writing "bot = telegram_chatbot(config.cfg) and def read_from_the_config_file.. how i can solve it?
File "server.py", line 25, in reply = make_reply(message) File "server.py", line 10, in make_reply reply = gizoogle.text(msg) File "/home/Himafreaky12/TelegramChatBot/gizoogle.py", line 15, in text giz_text = giz[39].strip(" ") # Hacky, but consistent. IndexError: list index out of range HOw to resolve this error? THis is from the console?
hi buddy i am getting below mentioned error can you help me out on this from bot import telegram_chatbot ImportError: cannot import name 'telegram_chatbot'
Bro can u make tut on making userbot who can send animated text messages and some other animations who can also do text to speech and some other cool commands
Can I integrate a bot with my account also like when I am offline and someone texts me then it should message a predefined message like "my owner is busy. Don't spam and wait for him to come online".
i'm getting something like this when i run server.py Traceback (most recent call last): File "/home/zed/TelegramChatBot/server.py", line 25, in reply = make_reply(message) File "/home/zed/TelegramChatBot/server.py", line 10, in make_reply reply = gizoogle.text(msg) File "./gizoogle.py", line 15, in text giz_text = giz[39].strip(" ") # Hacky, but consistent. IndexError: list index out of range
Check the description for the code and all links mentioned!
You Got my attention. Good Job
I would like you to build me an automated telegram engagement group bot. We have hundreds of accounts that want to participate an a likes/comments engagement group. Probably a Dx5 or Dx10 group. I want the bot to automatically check for leechers, warn people and ban people. I also want to be able to post in the group without having to meet the same requirements to like/comment everyone else in my group has too. If you would like to talk more look me up on Instagram and DM me. @igbrandbuilder
Hello! I have the KeyError where updates=updates['result']. Please help! Otherwise throws no errors.
I am upset, it worked nicely at first
Earlier I had an error at line 8, in __init__
self.token = self.read_token_from_config_file(config)
TypeError: read_token_from_config_file() takes 1 positional argument but 2 were given
BUT: pylinting helped to eliminate the error.
As well as there was an error at , line 3, in
bot=telegram_chatbot("config.cfg")
Py-linting also helped
I have created a Telegram not for news
Please check
levelup.gitconnected.com/create-a-telegram-news-bot-in-less-than-10-minutes-e558e3fd1db6
@@mindfulpurpose6586 Hey if you are still intrested in it i can build one for you.
"What should we make our chatbot do?"
"Speak Gangsta, of course"
I've subscribed
Amazing work man! You explained the backend of what other packages do!
That is a really nice video to begin with. Thank you so much for this :D
really helpful , specially for me that i've just started learning
YOU SAVED ME ANOTHER TIME I LOVE YOU
Amazing Job Man really like your way of explaining the things. I understood every thing Thanks a lot :)
Sourav, this was a comprehensive, and to-the-point tutorial. This is how a tutorial should be made. well done.
Good video man 👏 I do like the "Gangsta talk"
.
Hey Dawwwg! sup Yo
I be goin ta chill
.
😂😂😂
The Man, The Myth, The Legend
wow! just what i was looking for to get started. great explanation man!
That was exactly what I needed. Very efficient. Thank you.
Nice one from you Sourav. It really helped me.
Simple and to the point ! Great tutorial
Great work brother 👍👍
Well done really its a great helping video for beginners like me. Instantly subscribed. And keep posting such amazing content.
Cool dude, now i clearly can see what i imagine is not a dream after all. thanks
Additionally for the telegram bot did you have to purchase a domain?
Really thanks from my side
And I am Sue from Cave Story
Awesome yaar...Great knowledge you have..thanks for sharing..
Fantastic tutorial man, massive respek!
Amazing Video Dude! Great Explanation
Nice work, man ;) Thanks for sharing
a very well explained .. thank you.
I've created a Telegram not for news
Please check
levelup.gitconnected.com/create-a-telegram-news-bot-in-less-than-10-minutes-e558e3fd1db6
Very nice tutorial ! Greatly Explained. Helped me a lot
Loved it man
Hey friend, It was an absolutely great tutorial. Thanks
Best video ..keep uploading!
thanks a lot, I write my first bot with your tutorials
Pure genius
Nice video, very clearly explained, thanks 🙏
You're Awesome Dude!! My dream is to be able to code like you do....
Good explanation and best way to make bot
you should try writing blogs as well in the side so programmers who re following you will refer to it without missing any instrution or we guys can crosschecck
Amazing! Thanks a lot!
It was more than useful, thank you
Good work
Traceback (most recent call last):
File "C:/Users/thispc/PycharmProjects/telegrambot/server.py", line 16, in
updates = updates["result"]
KeyError: 'result'
what changes i do this ???
I got the same ERROR. Any fixes?
def get_updates(self, offset=None):
url = self.base + "getUpdates?timeout=100"
Really really helpful!
in server.py. why do you refer to telegram_bot as just 'bot' ? the class name is telegram_chatbot in bot.py file
add this line before the "make_reply" function -->
bot = telegram_chatbot("config.cfg")
Yes, he wrote 'bot', someone explain me please!
indians are creative
Great tutorial, thanks!
Please make some videos for linux beginner specially kali... Plz bro... Ur explanation is too good
not working bro shows :
updates = updates["result"]
TypeError: 'NoneType' object is not subscriptable
did you find the solution?
u know, my husband came home from work and helped me out. If you wrote the code by the video there are a couple of mistakes:
You should remove slashes in these lines: 'getUpdates?timeout=100'
and
'sendMessage?chat_id={}&text={}'
because the slash is already present here.
"api.telegram.org/bot{}/"
BUT the source code goes without slashes. if it raises errors it may be some temporary problems with config. Yesterday teacher's code also threw errors (without slashes), today it works well
@@mariiarogina6546 No, I didn't find any solution, and thanks for helping I'll surely try . Thank you very much!
@@mariiarogina6546 thanks a lot. it worked :)
Awesome.
wow
great boss
you are amazing
great man. i really like it.
Traceback (most recent call last):
File "server.py", line 24, in
from_ = item["message"]["from"]["id"]
KeyError: 'message'
I'm getting this error when I run "server.py"
@@the_wardaddy i believe if a previous text message is edited, u will get this error message
great stuff. thanks for the detailed video.
can't we use the .ipynb file instead .py file?
Thank you... it worked.
excellent!!!
big thanks from Egypt to you , THANKS A LOT,
any telegram related to images and videos?
You goood dawg!
I've created a Telegram not for news
Please check
levelup.gitconnected.com/create-a-telegram-news-bot-in-less-than-10-minutes-e558e3fd1db6
so cool
Good job :) Thanks
Hi, my bot reply is not working.need to update the JSON file each time. What to do to make an automatic reply to the user? How to make this bot intelligent? Need help on this plzz..
that was amazing
You are just AweSome ! men
Found an issue:
File "server.py", line 3, in
bot = telegram_chatbot("config.cfg")
File "C:\Users\Wesley\Desktop\bot project\bot.py", line 8, in __init__
self.token = self.read_token_from_config_file(config)
TypeError: read_token_from_config_file() takes 1 positional argument but 2 were given
I had the very same issue. How did you fixed it?
@@hvsebas include self in the read token method in bot.py
def read_token_from_config_file(self, config):
...
So you don't need webhooks for these functions.
What are you using to program this bot.. I mean like are you using some application like visual studio or something?
awesome bro! I was learning from every second of that god damn tutorial. thanks a lot
Which app u use for running api
i am got issue, can you help?
Traceback (most recent call last):
File "server.py", line 17, in
updates = updates["result"]
KeyError: 'result
Hey! I faced a similar issue. I found that it was because of an extra '/' in the get_updates method. In the base URL, he has already added a '/' at the end. At 6:56, he's added another one. I removed that and it worked. Check out his GitHub code, as it's corrected there!
@@madhuripalanivelu8061 Someone should pin your comment. Good observation. Thanks
Which theme are you using and which font?
good question have you perhaps found an answer ?
I was following your steps while making the bot but the screen that comes in my browser of type that is at 2.54 in your video , how to convert in way you have done in json ??
Hey, what software did you use for presentation? Please let me know
Its not working in my case
It does not send any message
did you solve
Hi Sourav.... nice video... Could you make something to get messages from a social group like bitcoin in telegram via this bot API
Please teach python! Your videos are great 👍
Hi....I am getting the following error when i try to run the code in python anywhere. Can you please help?
Traceback (most recent call last):
File "/home/gjagan/TelegramChatbot/server.py", line 25, in
reply = make_reply(message)
File "/home/gjagan/TelegramChatbot/server.py", line 10, in make_reply
reply = gizoogle.text(msg)
File "./gizoogle.py", line 15, in text
giz_text = giz[39].strip("
") # Hacky, but consistent.
IndexError: list index out of range
heyy.. did you get this fixed?
Sorry, what is the editor you used for creating the codes? & the part about dependencies, where to download or install it please?
Python I assume
Just google spyder download (fyi, spyder=python), it is free
what is the extension u used to read json file on google chrome bro?
what browser do you use?
How to send react msg on any msg using python
Great video, can you please tell what to be done for sending images?
hello my friend..
i was copy your codes and i notices that you have a diffrent code and it appear on 8:05 on the video.
i copied it and the Teminal says me that "takes 1 positional argument but 2 were given"
by writing "bot = telegram_chatbot(config.cfg)
and def read_from_the_config_file..
how i can solve it?
Where did you host your python files?
nothing works, i did not change anything, installed all requests , but nothing works
Telegram made some changes so this tutorial needs to be updated
change to giz_text = giz[37].strip("
") in gizoogle.py
File "server.py", line 25, in
reply = make_reply(message)
File "server.py", line 10, in make_reply
reply = gizoogle.text(msg)
File "/home/Himafreaky12/TelegramChatBot/gizoogle.py", line 15, in text
giz_text = giz[39].strip("
") # Hacky, but consistent.
IndexError: list index out of range
HOw to resolve this error? THis is from the console?
Hey did u know how to create our own robot saying welcome to our new group member?
strangely the server.py code is running, but the bot is not responding.
Now it will not work coz its showing you cannot access outer websites from free account
Thank sir can you do a video how to forward message from telegram channel to another channel with python please
How did you connected the chat bot with gizoogle.. Its wasn't in the vedio
Is there any option to covert it into normal replies rather than gangsta replies
Super Cool
Hi, is it possible for me to add in a code that calculates the inputs and returns the answer?
hi buddy i am getting below mentioned error can you help me out on this
from bot import telegram_chatbot
ImportError: cannot import name 'telegram_chatbot'
First, type this code....
Where is this code? It's not in the description.
Bro can u make tut on making userbot who can send animated text messages and some other animations who can also do text to speech and some other cool commands
Hi how can we create API for CRM to use Telegram with bot or without bot. Can we send first msg to any telegram user using API
Can I turn my Main I'd Into a AI conversational ID with auto reply and auto send message in Any ID
Can I integrate a bot with my account also like when I am offline and someone texts me then it should message a predefined message like "my owner is busy. Don't spam and wait for him to come online".
Hi bro,i have a little qeustion,may i ask???
i'm getting something like this when i run server.py
Traceback (most recent call last):
File "/home/zed/TelegramChatBot/server.py", line 25, in
reply = make_reply(message)
File "/home/zed/TelegramChatBot/server.py", line 10, in make_reply
reply = gizoogle.text(msg)
File "./gizoogle.py", line 15, in text
giz_text = giz[39].strip("
") # Hacky, but consistent.
IndexError: list index out of range
dude i am getting index out of range error .....
yeah me too dude
did u find any solutions??
How i can connect the phyton on telegram bot?
what the of micro web framework app ?
I need help,tell me how to auto forward other's channels post on my channel...