diff options
-rw-r--r-- | notcqst.py | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,9 +1,7 @@ import socket from yt_dlp import YoutubeDL - def check_youtube(): - print("Hello World!\n") if "https://youtube.com" in text_str or "https://www.youtube.com" in text_str: split_str = text_str.split('##tech-tangents :') vid_url = split_str[1].strip() @@ -18,8 +16,20 @@ def check_youtube(): else: return 0 + +def command_choose(): + + +def command_flag(): + if "n!" in text_str: + split_text = text.split(':n!') + command = split_text[1].strip() + match command: + case "choose": command_choose() + def parse_cmd(): + command_flag() check_youtube() |