From 7fd250aff7d12d3712d06e87073ec1a3320047ad Mon Sep 17 00:00:00 2001 From: cqst Date: Fri, 22 Aug 2025 12:30:37 -0700 Subject: first commit --- notcqst.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 notcqst.py diff --git a/notcqst.py b/notcqst.py new file mode 100644 index 0000000..9d7cdef --- /dev/null +++ b/notcqst.py @@ -0,0 +1,17 @@ +import socket + +server = "irc.libera.chat" +channel = "##tech-tangents" +botnick = "notcqst" + +irc = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + +print("connecting to: " + server) + +irc.connect((server, 6667)) + +irc.send(b'this should fail') + +while 1: + text = irc.rec(2040) + print(text) -- cgit v1.2.3