diff options
author | cqst <cqst@cqstia.com> | 2025-08-22 13:33:42 -0700 |
---|---|---|
committer | cqst <cqst@cqstia.com> | 2025-08-22 13:33:42 -0700 |
commit | 579208925b0f4e55ab00d6b44cdf14cd300045af (patch) | |
tree | 80acbd1d68d1fdb8751b1e6a1add49e9d263f56c | |
parent | 4903c5ecccebd7187736dd69b3256225df12b7a0 (diff) |
functions
-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() |