summaryrefslogtreecommitdiffstats
path: root/notcqst.py
diff options
context:
space:
mode:
Diffstat (limited to 'notcqst.py')
-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()