diff options
author | cqst <cqst@cqstia.com> | 2025-09-12 14:28:49 -0700 |
---|---|---|
committer | cqst <cqst@cqstia.com> | 2025-09-12 14:28:49 -0700 |
commit | a4c4c79e13afbd5f8731520f3f6d58e3b92d887a (patch) | |
tree | bd8f04183053391ddba75aecdeb8aba53126937d | |
parent | bb63c1edc8878f6a44cfcde5d22f6b518477fc17 (diff) | |
download | irc-bot-a4c4c79e13afbd5f8731520f3f6d58e3b92d887a.tar.gz |
-rw-r--r-- | irc-bot2.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/irc-bot2.py b/irc-bot2.py index 57c5ad3..bb13b34 100644 --- a/irc-bot2.py +++ b/irc-bot2.py @@ -3,6 +3,9 @@ import ssl import random from yt_dlp import YoutubeDL + +# test + def connect(): context = ssl.create_default_context() @@ -61,7 +64,6 @@ def youtube(irc, text_str, IrcDetails): irc.send((bytes("PRIVMSG " + IrcDetails.channel + " :" + channel_name + ": " + video_title + "\r\n", 'utf-8'))) - def bot_command(irc, text_str, IrcDetails): text_str_clean = text_str.rstrip() text_str_split = text_str_clean.split(" ") @@ -86,5 +88,4 @@ def bot_command(irc, text_str, IrcDetails): case "choose": BotCommands.command_choose(text_str_split) - -#connect() +# connect() |