summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcqst <cqst@cqstia.com>2025-08-22 13:33:42 -0700
committercqst <cqst@cqstia.com>2025-08-22 13:33:42 -0700
commit579208925b0f4e55ab00d6b44cdf14cd300045af (patch)
tree80acbd1d68d1fdb8751b1e6a1add49e9d263f56c
parent4903c5ecccebd7187736dd69b3256225df12b7a0 (diff)
functions
-rw-r--r--notcqst.py14
1 files 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()