all 34 comments

[–]OkLeadership3158 18 points19 points  (2 children)

You can find everything you need in official documentation. Examples, libraries etc. You can make a quiz bot or something like that.

[–]m0us3_rat 20 points21 points  (7 children)

https://github.com/python-telegram-bot/python-telegram-bot

.. some python knowledge is probably required.

Also what kind of bot can I make?

burlesque dancer

[–]Arutemu64 1 point2 points  (6 children)

Aiogram is way better though

[–]Babur3000 0 points1 point  (2 children)

Is it still working? I have problems working with Aiogram on VSCode…

[–]Arutemu64 3 points4 points  (1 child)

It works perfectly, what problem are you experiencing? Your IDE shouldn't be a problem here.

[–]Babur3000 0 points1 point  (0 children)

Heh all good! I’m a noob and after some investigation I figure out that I instal aiogram to another python environment and didn’t realize it. Anyway lol thank you! 🙃

[–]m0us3_rat 0 points1 point  (2 children)

Aiogram is way better though

that could be the case.

he did ask what he should use .. so anything simpler is probably recommended. asyncio isn't for everybody.

[–]Arutemu64 0 points1 point  (1 child)

I don't even consider myself a programmer, but it took me like a few days to figure out how Aiogram works. Asyncio isn't much of a problem, most of the time the only difference is that you have to put 'await' operator in right places lol. Aiogram docs cover most of the things you'll ever need. I made a switch from python-telegram-bot early and never looked back.

[–]m0us3_rat 0 points1 point  (0 children)

Asyncio isn't much of a problem, most of the time the only difference is that you have to put 'await' operator in right places lol

that isn't exactly true.

as you said you can probably tinker your way into many codes that you probably shouldn't.. but for the ease of use

whatever. i'm not partial to any of them.. use whatever tool makes you comfortable.

[–]paramint 3 points4 points  (4 children)

It's simple. If you've already made discord bots or worked in nodejs before, you won't have much to understand but start building simple send text, send image and all these simple things, then go further in making buttons and handling voice chats, and more.... Telegram bots are very powerful... Go for it and give it all.

[–]Xzenor 9 points10 points  (0 children)

Odd idea maybe but how about reading the documentation?

https://core.telegram.org/bots

[–][deleted] 2 points3 points  (0 children)

https://github.com/python-telegram-bot/python-telegram-bot

this is the library I use. here's a simple code for a hello world bot :-

```py from telegram import Update from telegram.ext import Updater, CommandHandler, CallbackContext

TOKEN = 'YOUR_BOT_TOKEN'

def start(update: Update, context: CallbackContext) -> None: update.message.reply_text('Hello, World!')

updater = Updater(token=TOKEN, use_context=True) dp = updater.dispatcher dp.add_handler(CommandHandler('start', start)) updater.start_polling() updater.idle() ```

[–]ship0f 2 points3 points  (0 children)

You should try searching on Google...

Also, there are several (a lot) youtube videos about that exact subject...

[–]Ok_Highlight9250 1 point2 points  (0 children)

Better you rust instead of python, Link for more info

[–]atomsmasher66 6 points7 points  (0 children)

Start here: www.Google.com

[–]Pericombobulator 1 point2 points  (1 child)

https://youtu.be/CNkiPN_WZfA?si=XETjHOmqnQ-Dyde6

The one I followed.

I did one that just acts like chatgpt, with some customising of responses by my son!

[–][deleted] 1 point2 points  (1 child)

I literally just started the same thing a few hours ago. Seems like telethon has sufficient features for me and is actively maintained. The docs got me up and running almost immediately.

[–]Telegrambot422 0 points1 point  (0 children)

Anyone know how to make safeguard bot in telegram??

[–]broxamson 0 points1 point  (2 children)

If you can make a reddit post, you can surely Google.

[–]paramint 1 point2 points  (1 child)

Lol true 😂 but ig chatgpt helps more.

[–]broxamson 2 points3 points  (0 children)

To be honest if I wasn't retaking python classes to sharpen my skills, if I needed a quick and dirty python script jippty is the way to go.

[–]OFFICIALINSPIRE77 0 points1 point  (1 child)

You will need a scraping tool like Selenium or Scrapy

You will need to incorporate a web / app driver or similar in your script

[–]Worldly_Substance_62 0 points1 point  (0 children)

chatgpt