From 579208925b0f4e55ab00d6b44cdf14cd300045af Mon Sep 17 00:00:00 2001 From: cqst Date: Fri, 22 Aug 2025 13:33:42 -0700 Subject: functions --- notcqst.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/notcqst.py b/notcqst.py index 9fb41f8..40f04b3 100644 --- a/notcqst.py +++ b/notcqst.py @@ -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() -- cgit v1.2.3