Hey CS Dojo, you are an inspiration!! I started my youtube channel on programming and software engineering because of you and been finally growing! Thanks for all your great content and always keep making helpful videos!! btw, I'm also from the University of British Columbia :)
oh man i love python. 13 lines of code from which 3 are spaces and you got a functional bot LOL... Thanks for the video and the people behind the packages too obviously :)
Replit has gotten rid of .env files and went to storing secret info on the environment to the 'secrets' tab. How do I run the API key into my program with this new change? thx
@@leehanglow4439 I haven't tested yet, but when I create that secret and then use the "insert" button it says "my_secret = os.environ['API_KEY']". Do I just use code as is or use what replit inserts? (delete the insert)
When I type .env for the new file it says 'you cannot create .env files anymore, checkout the environment variable sidebar' can you please tell me what to do
Just click on the lock icon on the left side of the screen, it is called Secrets (Environment variables), you can add name for your api key (let's say API_KEY) and then paste the actual key down there. In the next step, it also tells you how to get the key and store it in a variable(you can rename the variable however you wish). That's how you do it, .env files are not supported anymore.
Can you help with this please? Traceback (most recent call last): File "main.py", line 8, in @bot.message_handler(commands=['Greet']) AttributeError: 'TeleBot' object has no attribute 'message_handler'
Thank you for the tutorial! Do I get it right - when the code is not running then the bot is not working? If i'm programming it off a local environment - does this mean I have to keep my laptop running 24/7 for the bot to work? How is it done in real life so the bot works all the time?
what a great work! I would appreciate it if You make a Video about a bot that Takes a string from a person who have pass code( with If loop) and post that string to other users that run another command!
7:07 i keep getting an error whenever i run the code, i copyed exactly what you did, step by step and still got the error, its something to do with the bot.polling() line, its about 30 lines of error, pls help
hey I an rupa sanjana. iam learning artificial intelligence and datascience course right now! can you tell me weather it is use full or not and what should i learn to become a perfect person like you. please reply.......
Hi! I tried to make a bot using your tutorial, i copy everything except the "API_KEY". But the website said "token is not defined" can you tell me how to fix this??
@@N1O1032 Hi! Yeah, apparently, "Token" is the API key that you get from botfather. The problem was with os.getenv() I guess. so I saved it directly as a variable (API_KEY=" whatever your API is")
Hello can you explain to us if we can creat python code that can help to do technical analytics and fundamental analytics to get decision of selling or buying in stocks market or forex market
This is really Awesome Quick thing, what software you have used to create this video? how we can show the coding screen and in bottom right your visible.
soooo, do I have to create "a new channel" for a bot, or can a bot be added to existing channel? cause I don't see how to find an API key for existing channel ... okay, figured it out. once you create the bot, open it, and click on ellipsis and select "add to group". this will not offer regular channels, but will offer you chat groups so you can add bots to those
Hi CS dojo, I love your videos on python oops concept. I am a python programmer and now I am learning java, could you please make a series tutorial on Java or Java OOPS concept.
Thank you so much for the video I try to follow it but as per 15 OCt 2022 the for PyTelegramBot API is at 4.7.0 and also we can not create .ENV files as the earlier part of ur video suggest. There is a new Secret function Tab on the Right. Can you please share with us an update? thank you so much
Am unable to get past "ModuleNotFoundError: No module named 'OS'" error. I appreciate help in solving this. Tried different ways to find solution but getting results stating OS module is built in already. Requesting Help.
I have a problem with the Bot. Telegram does not create anything, but it says it does. What I mean is the chatbot has been created, or at least this is what it states, but I can't find it the same way Jacob is doing it.
This is really cool, thank you! How would one create a TG bot that would return data based on that user? Example billing information for a tenant or customer by linking their TG username/number. Thanks once again, keep safe!
@@bo6344 yeah since we living on an open source world protect your own stuff is somethings ppl should be doing rather than believe in the "protector" stuff
How to add two or more bots to the same group ?? I mean , I tried adding it. Both the bots got added the group , but both were unresponsive to the group messages. Whereas they worked fine when there was only one bot in the group
Hey can you make a tutorial on making a telegram game bot? I'm trying to do one bit I don't know how to make coding for custom choices like players' names and everything else
How do i go about doing this if i want a command to be trigerred by a message sent in another channel? can I add the bot to channel and take those messages as command?
Finally, You remembered you've RUclips channel 😂
with 1M subscribers 😂
YOU'VE
I can't like this comment bcoz it has 69 likes
Lol
exactly ❤️
FINALLY A VIDEO FROM CS DOJO
But not personally )
not really...
Hey CS Dojo, you are an inspiration!! I started my youtube channel on programming and software engineering because of you and been finally growing! Thanks for all your great content and always keep making helpful videos!!
btw, I'm also from the University of British Columbia :)
Thank you for your kind words!!
Wowowoww, from zero to understand in 5 minutes... Thanks 👍👍👍👍👍
13:54 love how quickly you caught yourself hahaha
Feeling first with 26 others.
I have seen many videos to make a telegram bot, I just got the information I need from your video, appreciate you man thanks a lot
13:56 nice save
That was fun. You should make a series out of this.
oh man i love python. 13 lines of code from which 3 are spaces and you got a functional bot LOL... Thanks for the video and the people behind the packages too obviously :)
The better video that I have ever seen in RUclips. Congrats on video.
Welcome back CS Dojo! Could you please do a Discord bot as well too?
Good idea.
Replit has gotten rid of .env files and went to storing secret info on the environment to the 'secrets' tab. How do I run the API key into my program with this new change?
thx
In the secret tab, the "key" will be the variable name and the value will be your API key.
In main.py, the way to run will still be the same
@@leehanglow4439 I haven't tested yet, but when I create that secret and then use the "insert" button it says "my_secret = os.environ['API_KEY']". Do I just use code as is or use what replit inserts? (delete the insert)
Thank you for introducing me to replit!
Keep the Telegram videos!! Please :) it was cool
You are the best programmer but plz show your talent every week
After so long was waiting for ur video so long
The GOAT Thanks you for this video ✨
That was a great tutorial! Thank you very much :D
Long overdue video from CS Dojo More frequent I hope😂
Bro I am using pyroid 3 to run my bot but it doesn't run. I just type 11strings since it shows no module found at string 31. What I can do?
When I type .env for the new file it says 'you cannot create .env files anymore, checkout the environment variable sidebar' can you please tell me what to do
Just click on the lock icon on the left side of the screen, it is called Secrets (Environment variables), you can add name for your api key (let's say API_KEY) and then paste the actual key down there. In the next step, it also tells you how to get the key and store it in a variable(you can rename the variable however you wish). That's how you do it, .env files are not supported anymore.
@@hrishikeshbharati9419 oh thanks for explaining
I want to ask you an irrelevant question
For app development
What should I use
java +android studio
Swift +xcode
react native
Thanks for the tutorial! It was useful to me. I would love to see others like that.
Can you help with this please?
Traceback (most recent call last):
File "main.py", line 8, in
@bot.message_handler(commands=['Greet'])
AttributeError: 'TeleBot' object has no attribute 'message_handler'
Hi. I Got same error, did you manage to solve this?
@@khalilbazgour8017 Facing the same problem too. Did you manage to solve this.
unable to add .env file , showing env files are depricated
you can find it in the left bar with a lock icon and add your API_KEY and key there
@@leetcodemermaid9804
thx bro
@@leetcodemermaid9804 4:51
the code still?
That moment when he said, " and of course coding's really fun, so your.... Commands really matter here"😂
thats what make this tutorial good, it shows coding is not always rainbows and sunshine xD
Thank you for the tutorial!
Do I get it right - when the code is not running then the bot is not working? If i'm programming it off a local environment - does this mean I have to keep my laptop running 24/7 for the bot to work? How is it done in real life so the bot works all the time?
it is deployed to cloud platforms like AWS or Heroku, which will run ur code 24/7
@@meowmaple thank you! Now I have some idea where to look for more info.
what a great work! I would appreciate it if You make a Video about a bot that Takes a string from a person who have pass code( with If loop) and post that string to other users that run another command!
nice video, looking forward to see more videos on bots.
wow, great tutorial.
will it scale? I mean is it going to work with more users or we should deal with threads?
7:07 i keep getting an error whenever i run the code, i copyed exactly what you did, step by step and still got the error, its something to do with the bot.polling() line, its about 30 lines of error, pls help
it's also happening with me
same here
Replit. It’s actually amazing, My school uses it and it was my first IDE that I learned to code on about a year ago
I agree, I use it to check my codes quickly 👍
Hell yeahh!!
the code stops working after a time. it says connection error and so on even if i start it on replit always on. How can i fix that?
I have done exactly as you doing, but in sublime text3, How to set the environment, for this code to work
nice video , and which software you used to compress videos
he looking different in a good way though 🔥
Could you give us a toturial about creating bottons in telegram bot
Cool! Thank you! Really useful tutorial!!!
Nice video
I would like if a video for transportation bot is made for telegram with python.
Instant Like!!!
hey I an rupa sanjana. iam learning artificial intelligence and datascience course right now! can you tell me weather it is use full or not and what should i learn to become a perfect person like you. please reply.......
Hi! I tried to make a bot using your tutorial, i copy everything except the "API_KEY". But the website said "token is not defined" can you tell me how to fix this??
I have the same problem, i use vs code, how did you solve it?
@@bronxer8 idk i cant solve it so i just gave up ;)
They update the pyTelegrambotAPI 3.7.7 to version 4.4.0 thats why it will never work again.
Thanks for the video.
We want more telegram, not related videos.
Hello!
Thanks for the tutorial.
I get this error → "Exception: Bot token is not defined"
would you please help me to fix it?
are u fixed this problem?
@@N1O1032 Hi! Yeah, apparently, "Token" is the API key that you get from botfather. The problem was with os.getenv() I guess. so I saved it directly as a variable (API_KEY=" whatever your API is")
@@ghazal2977 Thank you very much and good luck.
sir can i know the editor u have used in your video...
How to fix the error? I got same. Can you help me please?
AttributeError: 'TeleBot' object has no attribute 'message_handler' although I install telebot or pytelegrambotapi
Welcome back
Thank you for this great video. How can we format the text to include bold font and embedded links? Thank you again.
Hey Thanks for the video , i have problem with the method bot.polling my terminal is mad
i would love some help , Thanks for helpers
Thanks for the tutorial, in case, is there any tutorial to set '+/-Post Messages' of a telegram bot in a channel?
Hello can you explain to us if we can creat python code that can help to do technical analytics and fundamental analytics to get decision of selling or buying in stocks market or forex market
This is really Awesome
Quick thing, what software you have used to create this video? how we can show the coding screen and in bottom right your visible.
Anyone else have the issue of trying to create the .env file and it doesn’t work?
exactly. did you fix that issue?
I not create file .env why? it say " you cannot create .env files anymore, checkout the environment variable sidebar"
Right, the process changed recently there. You can find the "environment variable" button in the left side bar instead
@@CSDojo thank bro :))
@@CSDojo what is the (key) & (value)
My bot only works when I run the code, does anyone know how to make it work constanly?
Cs dojo is back!!!
A huge thanks from INDIA🌟
Looking good YK!
Nice Job!
Can't create .env for some reasons.. anyone had the same issue?
forum.freecodecamp.org/t/replit-create-a-env-file-changed/456125
Me
They moved the .env file to secrets where you can create your environment
Hello, please help me, how can I save a user input and then outputs it later on
soooo, do I have to create "a new channel" for a bot, or can a bot be added to existing channel? cause I don't see how to find an API key for existing channel ...
okay, figured it out. once you create the bot, open it, and click on ellipsis and select "add to group". this will not offer regular channels, but will offer you chat groups so you can add bots to those
Hi CS dojo,
I love your videos on python oops concept. I am a python programmer and now I am learning java, could you please make a series tutorial on Java or Java OOPS concept.
How can I contact you ?
i can't create the .env file in repl it...
It's fine to see, but how to create a telegram bot with Python w/o any libraries?
Thank you so much for the video I try to follow it but as per 15 OCt 2022 the for PyTelegramBot API is at 4.7.0 and also we can not create .ENV files as the earlier part of ur video suggest. There is a new Secret function Tab on the Right. Can you please share with us an update? thank you so much
How difficult is it to create a bot that looks at the content of a message? Copies a part from it? And adds a command to the line and the send that?
Is it possible to send messages without message handlers? I want to send scheduled messages automatically but I cant seem to find answer online :/
Are the professional certicates from google, IBM are accepted for visa instead of a CS degree? For software engineer job
Am unable to get past "ModuleNotFoundError: No module named 'OS'" error. I appreciate help in solving this. Tried different ways to find solution but getting results stating OS module is built in already. Requesting Help.
can't quite figure it out...why wouldn't you use a regular hosting instead of replit?
Any idea how to monitor price of a certain stock or coin by tg bot or discord ?
I want to extract data directly from the exchange
I have a problem with the Bot. Telegram does not create anything, but it says it does. What I mean is the chatbot has been created, or at least this is what it states, but I can't find it the same way Jacob is doing it.
This is really cool, thank you! How would one create a TG bot that would return data based on that user? Example billing information for a tenant or customer by linking their TG username/number. Thanks once again, keep safe!
AHAHAHAHHA Wow you clowns don't even TRY to hide your exploitive ways anymore!
@@bo6344 yeah since we living on an open source world protect your own stuff is somethings ppl should be doing rather than believe in the "protector" stuff
Very useful video Thank You very much for this Video
What is someone enters some command which the bot can't understand, how to print the "Sorry I can't understand you message"
So, how to send alert? (that you have mention at beginning)
Nice video, what about to catch messages from another bot in a channel, does it work? I have tried but is not working
when i try to run it locally it says Bot token is not defined
left at the sidebar there is a "lock". There you can put the API_KEY.
How to solve the problem? I got same.
its nice tutorial but im havin problem at bot.message_handler. can u help ?
Could you please share how can we read incoming messages of more then one channels continuosly In which I'm just joined as a member. ?
13:57 telegram is a little Fuh--finicky hahah
finally you remember your youtube channel padsword
Hahahhaha pad sword
It's been a while YK!
lets go replit!
Thank you dojo from Sri Lanka 🇱🇰
Good yk really superb
"it's not tea, i'm not sentdex" what savage 😂
but I wish I was 😢😉
How to add two or more bots to the same group ?? I mean , I tried adding it. Both the bots got added the group , but both were unresponsive to the group messages. Whereas they worked fine when there was only one bot in the group
thank you for vide. How to keep running my bot every time? When i stop it in Replit, then it does not work.
I'd like the bot send me a message whenever there's a new post of some forum.
What's the right way to set it up without passing a command to the bot?
Hey can you make a tutorial on making a telegram game bot? I'm trying to do one bit I don't know how to make coding for custom choices like players' names and everything else
How do i go about doing this if i want a command to be trigerred by a message sent in another channel? can I add the bot to channel and take those messages as command?
i know the roadmap for web development
app development (android/ios)
but what is the roadmap for desktop app/software deveelopment?
?
?
?
Thank you that was very useful 👌
Sir,any bot tele record who invited member to the group? How many member they already invited have recorded on bot
Hi....Bro
How to Create a New Bot for ( URL link bot )
Please 🙏🙏🙏🙏 explain
I'd love to see a video about a bot sending back photo's, gif's, etc.
Hey, hello there! Is there any way you could give me some advice? I`m trying to make a tipping bot for a BSC contract Token. Many thanks in advance!
very straightforward