Telegram Birthday Bot in Python - Never Forget One Again

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • In this video, we build a Telegram birthday reminder bot in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

ความคิดเห็น • 20

  • @Nxck2440
    @Nxck2440 ปีที่แล้ว +4

    mine is giving errors such as
    TypeError: Updater.__init__() missing 1 required positional argument: 'update_queue'
    Did they change the API recently? My IDE is saying that `use_context` is not an arg for this class..

  • @viktorsoviak5764
    @viktorsoviak5764 ปีที่แล้ว +3

    I have this error and dk how to fix it
    Updater.__init__() got an unexpected keyword argument 'use_context'

  • @AndreyZnamenskiy
    @AndreyZnamenskiy ปีที่แล้ว +7

    If you are going to use this bot as your real reminder add some logic to deal with leap-year birthdays (feb 29). Otherwise you will miss them.

  • @marzm7050
    @marzm7050 ปีที่แล้ว +1

    can create the same project in vs code if so what are the libraries should i install

  • @mosomiliardaru
    @mosomiliardaru ปีที่แล้ว +1

    Awesome video but it would be extremely helpful if you actually published your code from every video on github as well, so when I realize I made a mistake, I don't have to constantly keep checking the video :)

  • @srp_photography
    @srp_photography 5 หลายเดือนก่อน

    I love your videos!, Can we do it with respect to time as well like if the message needs to be triggered on precise time.

  • @ObaidaNa
    @ObaidaNa ปีที่แล้ว +2

    awesome video thanks,
    but you should not make current_name global in that way, because if someone send '/new' to the bot and added his name while another user is typing the date of reminder, it I'll take the name from the other user, and there is no need to make 'current_date' global
    you should instead make a global dictionary which mapping user_id to the current_name
    another solution is to store variables in 'context.user_data' and this is a dictionary will be passed for each user and stores what you have assigned to it, for example in the 'get_name' function you can assign current_name to context.user_data['current_name'] then it will be accessible in the 'get_date' function

    • @HandyAndyG
      @HandyAndyG ปีที่แล้ว

      well, I really hope that no one uses code like this to actually use it in production code. This is definitely just tutorial code. There are lots of things in the code which I would never want to see in real code.

  • @artaalipour
    @artaalipour ปีที่แล้ว +1

    Thanks man, You helped me to resolve my problem on my own project ♥

  • @tora3492
    @tora3492 ปีที่แล้ว +1

    33:10
    I can't run my PC 24*7.
    What to do in that case ?

    • @ganeshchennuri
      @ganeshchennuri ปีที่แล้ว +2

      cloud deployment or raspberry pi

  • @wasgeht2409
    @wasgeht2409 ปีที่แล้ว +1

    Wow thanks. I love your videos !

  • @marcosalejandropadilladorta
    @marcosalejandropadilladorta ปีที่แล้ว +1

    Is there a way to deploy the bot code in the cloud so I don't have to run it on my pc 24/7???

    • @AndreyZnamenskiy
      @AndreyZnamenskiy ปีที่แล้ว

      get a minimal VPS with linux (~ 5$/month), install python, run your bot on it.

  • @rsansk26
    @rsansk26 ปีที่แล้ว

    Hi. Take a video please, I've been suffering for several weeks and I can't understand. How to connect via socket to metatrader 5, get (open,close, hi, low, time) and automatically upload this database to sql

  • @as-ng5ln
    @as-ng5ln ปีที่แล้ว

    Do you have a tutorial on how to set up a python environment on windows like yours?

  • @Markandpreston
    @Markandpreston ปีที่แล้ว

    Can you make a video on using Microsoft Access

  • @__________________________6910
    @__________________________6910 ปีที่แล้ว

    code link ?