Skip to content

Discord BOT for Youtube Subscription/Notification using Python3

Notifications You must be signed in to change notification settings

n0uur/vidcha-bot

Repository files navigation

VidCha Bot

Discord BOT for Youtube Subscription/Notification using Python 3

This may not function properly.

Requirement

  • Python >= 3.6 (I'm testing on 3.9 but all 3.x should work, 3.6 or later for sure)
  • Discord Application (aka. Bot)
  • Youtube Data API
  • little knowledge about Python, Pip, API, Discord (Also Thai if you want to translate this app, just kidding 😄)

Installation

  1. Clone this project to your PC (aka. download)

  2. install require libraries using pip from requirements.txt

    > pip install -r requirements.txt
    
  3. config your Bot using .env file. you can use .env.example file for reference or just copy paste and rename it to .env.

  4. migrate your database using pem

    > pem migrate
    
  5. run your Bot bot.py

    > python bot.py
    

Pro

  • No need Webhook or Public IP
  • Lightweight
  • Easy to use

Cons

  • BUGS
  • Not a realtime update (cause Youtube's RSS feed cache)

Conclusions

  • This bot is now Thai, you can translate it by replacing text in it's code
  • This boi is not smooth like criminal. I'm just creating it cause I need to rest from my work for about a few hours. It's need a lot of refactor to be looking good, I will do it if I have to :P
  • This boi is half OOP and FP, I'm design it to be OOP in my head but I just forget it ? I may change this Boi to MVC in the future.
  • Many lines in this project just fked up with best practices. so 1) just reading my code only for understand how it works don't ever think to copy it and 2) Don't do this with your own works or your company's works.

Screenshots

Subscribe to youtube channel

subscribe

Notify when having new videos

new

List subscribed channels

list

Help commands

help

References

License

We don't do that here

About

Discord BOT for Youtube Subscription/Notification using Python3

Resources

Stars

Watchers

Forks

Languages