diff options
Diffstat (limited to 'irc-bot2.py')
-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() |