How To Create A Telegram Bot With Python

  Рет қаралды 631,728

CS Dojo

CS Dojo

Күн бұрын

Пікірлер: 479
@sunilkulkarni4426
@sunilkulkarni4426 3 жыл бұрын
FINALLY A VIDEO FROM CS DOJO
@oleghwang0512
@oleghwang0512 3 жыл бұрын
But not personally )
@erickvidbaz3086
@erickvidbaz3086 3 жыл бұрын
not really...
@prasadbylapudi4755
@prasadbylapudi4755 3 жыл бұрын
Finally, You remembered you've KZbin channel 😂
@ritikkaushik2469
@ritikkaushik2469 3 жыл бұрын
with 1M subscribers 😂
@Ztenos
@Ztenos 3 жыл бұрын
YOU'VE
@zombiekiller7101
@zombiekiller7101 3 жыл бұрын
I can't like this comment bcoz it has 69 likes
@mTrader1
@mTrader1 3 жыл бұрын
Lol
@RahulSharma-wz6yv
@RahulSharma-wz6yv 3 жыл бұрын
exactly ❤️
@cloudietech5825
@cloudietech5825 3 жыл бұрын
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 :)
@CSDojo
@CSDojo 3 жыл бұрын
Thank you for your kind words!!
@pain1737_6
@pain1737_6 3 жыл бұрын
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
@mohammedmhilal4129
@mohammedmhilal4129 3 жыл бұрын
That was fun. You should make a series out of this.
@nil9754
@nil9754 3 жыл бұрын
13:56 nice save
@yosimadsu2189
@yosimadsu2189 Жыл бұрын
Wowowoww, from zero to understand in 5 minutes... Thanks 👍👍👍👍👍
@ShaneMarkusJohn
@ShaneMarkusJohn 2 жыл бұрын
13:54 love how quickly you caught yourself hahaha
@zeepranabesh911
@zeepranabesh911 3 жыл бұрын
I want to ask you an irrelevant question For app development What should I use java +android studio Swift +xcode react native
@MohammedUsaid
@MohammedUsaid 3 жыл бұрын
Welcome back CS Dojo! Could you please do a Discord bot as well too?
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Good idea.
@bhanu-06-07
@bhanu-06-07 3 жыл бұрын
Feeling first with 26 others.
@sciencekafunda305
@sciencekafunda305 3 жыл бұрын
You are the best programmer but plz show your talent every week
@ClaudioBOsorio
@ClaudioBOsorio 3 жыл бұрын
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 :)
@maiconreis9276
@maiconreis9276 3 жыл бұрын
The better video that I have ever seen in KZbin. Congrats on video.
@goodtechdoor
@goodtechdoor 3 жыл бұрын
Thank you for introducing me to replit!
@jasgarcha4783
@jasgarcha4783 3 жыл бұрын
Long overdue video from CS Dojo More frequent I hope😂
@ashkannoone1479
@ashkannoone1479 3 жыл бұрын
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!
@rupa8811
@rupa8811 3 жыл бұрын
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.......
@arunrojas8942
@arunrojas8942 3 жыл бұрын
nice video , and which software you used to compress videos
@zx3215
@zx3215 2 жыл бұрын
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?
@meowmaple
@meowmaple 2 жыл бұрын
it is deployed to cloud platforms like AWS or Heroku, which will run ur code 24/7
@zx3215
@zx3215 2 жыл бұрын
@@meowmaple thank you! Now I have some idea where to look for more info.
@sipp5657
@sipp5657 3 жыл бұрын
he looking different in a good way though 🔥
@nijoeli
@nijoeli 3 жыл бұрын
Keep the Telegram videos!! Please :) it was cool
@ryanisthewind
@ryanisthewind 3 жыл бұрын
wow, great tutorial. will it scale? I mean is it going to work with more users or we should deal with threads?
@bhaskarthouti1482
@bhaskarthouti1482 3 жыл бұрын
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.
@mohapeth748
@mohapeth748 Жыл бұрын
The GOAT Thanks you for this video ✨
@jeremiahope9173
@jeremiahope9173 2 жыл бұрын
Nice video I would like if a video for transportation bot is made for telegram with python.
@ab-lx6ke
@ab-lx6ke 3 жыл бұрын
日本人なんですね! 今高校留学の最後の年です。プログラミングは全くわかりませんがこれから頑張ります
@mattgwyer4888
@mattgwyer4888 3 жыл бұрын
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
@leehanglow4439 3 жыл бұрын
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
@MrSatoV
@MrSatoV 3 жыл бұрын
@@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)
@mdshahadatkabir8329
@mdshahadatkabir8329 3 жыл бұрын
After so long was waiting for ur video so long
@ADM_RAMconsumingfox
@ADM_RAMconsumingfox 3 жыл бұрын
Finally, the good tutorial out of everything out there how to make a bot. They all just make a bot not the code. I want to make gamebot, is there any tutorial?
@INDOGFX
@INDOGFX 3 жыл бұрын
i can't create the .env file in repl it...
@pawelpow
@pawelpow 3 жыл бұрын
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
@c3vids_shorts
@c3vids_shorts 3 жыл бұрын
I agree, I use it to check my codes quickly 👍
@diablolaggo870
@diablolaggo870 3 жыл бұрын
Hell yeahh!!
@enlightmentnurturewithsusm9387
@enlightmentnurturewithsusm9387 2 жыл бұрын
unable to add .env file , showing env files are depricated
@leetcodemermaid9804
@leetcodemermaid9804 2 жыл бұрын
you can find it in the left bar with a lock icon and add your API_KEY and key there
@nnk0o
@nnk0o 2 жыл бұрын
@@leetcodemermaid9804 thx bro
@nnk0o
@nnk0o 2 жыл бұрын
@@leetcodemermaid9804 4:51 the code still?
@codigoaldea7925
@codigoaldea7925 3 жыл бұрын
nice video, looking forward to see more videos on bots.
@ReneMcLaren
@ReneMcLaren 3 жыл бұрын
Is there a way to make a telegram bot without coding?
@arladiesworld786
@arladiesworld786 Жыл бұрын
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?
@laviniaaparaschivei9264
@laviniaaparaschivei9264 3 жыл бұрын
Thanks for the tutorial! It was useful to me. I would love to see others like that.
@29namankumar29
@29namankumar29 3 жыл бұрын
It's been a while YK!
@duhmi
@duhmi 2 жыл бұрын
Could you give us a toturial about creating bottons in telegram bot
@bijayghosh6128
@bijayghosh6128 3 жыл бұрын
I have done exactly as you doing, but in sublime text3, How to set the environment, for this code to work
@ajaysen7290
@ajaysen7290 3 жыл бұрын
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.
@jordanakanbi8060
@jordanakanbi8060 2 жыл бұрын
How can I contact you ?
@pivotsclips8024
@pivotsclips8024 3 жыл бұрын
Thank you dojo from Sri Lanka 🇱🇰
@DouweHummeling
@DouweHummeling 3 жыл бұрын
I'd love to see a video about a bot sending back photo's, gif's, etc.
@noushadkhan1647
@noushadkhan1647 3 жыл бұрын
Thanks for the video. We want more telegram, not related videos.
@SanjayKumar-xn2xm
@SanjayKumar-xn2xm 3 жыл бұрын
finally you remember your youtube channel padsword
@mikethegamedev
@mikethegamedev 3 жыл бұрын
Hahahhaha pad sword
@coinmaster8
@coinmaster8 Жыл бұрын
Can't create .env for some reasons.. anyone had the same issue?
@severinsepp6520
@severinsepp6520 Жыл бұрын
forum.freecodecamp.org/t/replit-create-a-env-file-changed/456125
@jitendrakulkarni2764
@jitendrakulkarni2764 Жыл бұрын
Me
@jitendrakulkarni2764
@jitendrakulkarni2764 Жыл бұрын
They moved the .env file to secrets where you can create your environment
@ouailnadzi832
@ouailnadzi832 3 жыл бұрын
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
@Welcome_to_real_life_
@Welcome_to_real_life_ 3 жыл бұрын
Instant Like!!!
@honeypatel14
@honeypatel14 3 жыл бұрын
Awesome video! I want to learn how to create a bot that sends you notifications every hour regarding stock price, weather, news or quotes.
@kailashrajendran3580
@kailashrajendran3580 3 жыл бұрын
A huge thanks from INDIA🌟
@keertilata20
@keertilata20 3 жыл бұрын
Cs dojo is back!!!
@krishnanagpal807
@krishnanagpal807 3 жыл бұрын
Great Cs dojo , please a video on reddit bot and a chatbot
@hanialadmaai5596
@hanialadmaai5596 2 жыл бұрын
Thank you for this great video. How can we format the text to include bold font and embedded links? Thank you again.
@shantanubindhani1622
@shantanubindhani1622 3 жыл бұрын
That moment when he said, " and of course coding's really fun, so your.... Commands really matter here"😂
@dhanushkgowda8570
@dhanushkgowda8570 3 жыл бұрын
thats what make this tutorial good, it shows coding is not always rainbows and sunshine xD
@anonyms5992
@anonyms5992 3 жыл бұрын
u are from which country ??
@jamesj2869
@jamesj2869 2 жыл бұрын
Thanks for the tutorial, in case, is there any tutorial to set '+/-Post Messages' of a telegram bot in a channel?
@prasanthraj2483
@prasanthraj2483 3 жыл бұрын
what are the purpose of telegram bot because i don't know
@prasanthraj2483
@prasanthraj2483 3 жыл бұрын
why we create telegram bot
@kirillous
@kirillous 2 жыл бұрын
My bot only works when I run the code, does anyone know how to make it work constanly?
@marhi3762
@marhi3762 3 жыл бұрын
Welcome back
@termile510
@termile510 3 жыл бұрын
Looking good YK!
@gamer99163
@gamer99163 2 жыл бұрын
Hello, please help me, how can I save a user input and then outputs it later on
@aa-mn5th
@aa-mn5th 3 жыл бұрын
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?
@8followsonik
@8followsonik 3 жыл бұрын
It's fine to see, but how to create a telegram bot with Python w/o any libraries?
@thetransferaccount4586
@thetransferaccount4586 Жыл бұрын
very straightforward
@АракелянАрман
@АракелянАрман 3 жыл бұрын
can't quite figure it out...why wouldn't you use a regular hosting instead of replit?
@koroviev8897
@koroviev8897 3 жыл бұрын
That was a great tutorial! Thank you very much :D
@mokus603
@mokus603 3 жыл бұрын
"it's not tea, i'm not sentdex" what savage 😂
@ClarityCoders
@ClarityCoders 3 жыл бұрын
but I wish I was 😢😉
@kryptoabi
@kryptoabi 2 жыл бұрын
AttributeError: 'TeleBot' object has no attribute 'message_handler' although I install telebot or pytelegrambotapi
@saikos-k6s
@saikos-k6s 3 жыл бұрын
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
@hrishikeshbharati9419
@hrishikeshbharati9419 3 жыл бұрын
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.
@saikos-k6s
@saikos-k6s 3 жыл бұрын
@@hrishikeshbharati9419 oh thanks for explaining
@9cowbell9
@9cowbell9 2 жыл бұрын
Any idea what’s the workaround for the bot/script to not fall asleep?
@devadarshpandit8730
@devadarshpandit8730 3 жыл бұрын
Which package are you using
@themobilegamer7333
@themobilegamer7333 2 жыл бұрын
Its was showing error when we use .env
@saurabh-singh
@saurabh-singh 3 жыл бұрын
Have you stopped ageing??
@jatin0094
@jatin0094 3 жыл бұрын
He knows it's algorithm
@bladewinnie5491
@bladewinnie5491 7 ай бұрын
Is it possible to send messages without message handlers? I want to send scheduled messages automatically but I cant seem to find answer online :/
@2perspektiva
@2perspektiva 2 жыл бұрын
So, how to send alert? (that you have mention at beginning)
@rrahll
@rrahll 3 жыл бұрын
Cool! Thank you! Really useful tutorial!!!
@tikka6554
@tikka6554 2 жыл бұрын
Why i can't create .env file?
@Agrover112
@Agrover112 3 жыл бұрын
Yo dojo alive
@codinglearner3261
@codinglearner3261 3 жыл бұрын
Well, it's okay if you dont... I mean, just do it if you have the time.. It would be very useful!
@ritikranjan7192
@ritikranjan7192 3 жыл бұрын
is that an asynchronous way to make a bot?
@txmthn
@txmthn 2 жыл бұрын
Traceback (most recent call last): File "main.py", line 5, in bot = telebot.Telebot(API_KEY) AttributeError: module 'telebot' has no attribute 'Telebot'  KeyboardInterrupt  KeyboardInterrupt 
@morganwiggins1168
@morganwiggins1168 2 жыл бұрын
TeleBot not Telebot
@china1china223
@china1china223 Ай бұрын
Here it's: bot = telebot.TeleBot("Your token here") Not Telebot he is "TeleBot" :)
@Deepak-jv2ql
@Deepak-jv2ql 3 жыл бұрын
Are the professional certicates from google, IBM are accepted for visa instead of a CS degree? For software engineer job
@omgtoinie
@omgtoinie 2 жыл бұрын
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?
@harshraj6966
@harshraj6966 3 жыл бұрын
i know the roadmap for web development app development (android/ios) but what is the roadmap for desktop app/software deveelopment? ? ? ?
@midray6212
@midray6212 3 жыл бұрын
My python keywords are uppercase Not found when typing lowercase letters in Telegram Bot How to type lowercase letters in Telegram Bot to find it Case-insensitive search
@MohitKumar-nx2um
@MohitKumar-nx2um 3 жыл бұрын
Make a video on your gadgets . Please suggest some usful gadgets.....love from india
@אורשני-ח4ד
@אורשני-ח4ד 3 жыл бұрын
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
@TheJmrmx
@TheJmrmx 2 жыл бұрын
Nice video, what about to catch messages from another bot in a channel, does it work? I have tried but is not working
@kalpeshrawal7661
@kalpeshrawal7661 3 жыл бұрын
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. ?
@hierkonnteihrewerbungstehe8008
@hierkonnteihrewerbungstehe8008 3 жыл бұрын
How can i read a message and save the text in a string?
@LearningwithLakshya
@LearningwithLakshya 2 жыл бұрын
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'
@khalilbazgour8017
@khalilbazgour8017 2 жыл бұрын
Hi. I Got same error, did you manage to solve this?
@avakinmio9080
@avakinmio9080 2 жыл бұрын
@@khalilbazgour8017 Facing the same problem too. Did you manage to solve this.
@mdjahangiralam1331
@mdjahangiralam1331 3 жыл бұрын
you should make a video on how teenagers can start learning coding.
@ghazal2977
@ghazal2977 3 жыл бұрын
Hello! Thanks for the tutorial. I get this error → "Exception: Bot token is not defined" would you please help me to fix it?
@N1O1032
@N1O1032 3 жыл бұрын
are u fixed this problem?
@ghazal2977
@ghazal2977 3 жыл бұрын
@@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")
@N1O1032
@N1O1032 3 жыл бұрын
@@ghazal2977 Thank you very much and good luck.
@kadurkaz4691
@kadurkaz4691 2 жыл бұрын
sir can i know the editor u have used in your video...
@CnmAlper
@CnmAlper 2 жыл бұрын
How to fix the error? I got same. Can you help me please?
@tusidas2158
@tusidas2158 3 жыл бұрын
a=print("wow") a >>wow how d0es it works?
@kartiksingh3154
@kartiksingh3154 3 жыл бұрын
can we get some sort of graph work also from this bot?
@thedriper2983
@thedriper2983 3 жыл бұрын
Nice Job!
@witzcode
@witzcode 2 жыл бұрын
Thanks for the helpful video. But I want to create Questions-Answer related Telegram Bot. Can you make another video for it? And, again thank you for this
@iKh4ever
@iKh4ever 3 жыл бұрын
So nice explain brother.
@techtrader8434
@techtrader8434 2 жыл бұрын
"It's coffee not a tea, I'm not sentdex"😂😂
@defnotbot4314
@defnotbot4314 3 жыл бұрын
lets go replit!
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 206 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 35 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 129 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 23 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 2,8 МЛН
How ChatGPT Built My App in Minutes 🤯
8:28
Website Learners
Рет қаралды 2,7 МЛН
Code a Discord Bot with Python - Host for Free in the Cloud
1:08:28
freeCodeCamp.org
Рет қаралды 2,4 МЛН
I Hacked a Discord Bot, the Owner said this...
9:09
No Text To Speech
Рет қаралды 1,4 МЛН
How to OVER Engineer a Website // What is a Tech Stack?
11:20
Fireship
Рет қаралды 2,5 МЛН
I Studied Data Job Trends for 24 Hours to Save Your Career! (ft Datalore)
13:07
Thu Vu data analytics
Рет қаралды 267 М.
How to Make Telegram Bot with Buttons in Python
5:01
Codex Creator
Рет қаралды 26 М.
How I’d learn ML in 2024 (if I could start over)
7:05
Boris Meinardus
Рет қаралды 1,2 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 35 МЛН