{"id":359,"date":"2011-09-08T18:58:49","date_gmt":"2011-09-08T15:58:49","guid":{"rendered":"http:\/\/newage.ql.lt\/blog\/?p=359"},"modified":"2022-01-19T08:34:45","modified_gmt":"2022-01-19T06:34:45","slug":"python-autovoice","status":"publish","type":"post","link":"https:\/\/9v.lt\/blog\/python-autovoice\/","title":{"rendered":"[xChat] Autovoice"},"content":{"rendered":"<p>Since I&#8217;m an OP on an IRC channel I want it to keep clean, nice and tidy and lots of people don&#8217;t want to register their nicks and get auto-voice so half of them doesn&#8217;t have voice and it looks ugly. Having this in mind I quickly made this Python script, to connect to a server and join a channel, lurk there and give voice at given time periods.<br \/>\n<!--more--><br \/>\nIt is far from fully functional though, because in the middle of writing I remembered that xChat (IRC client) has support for modules written in Python. So I dropped this and made that script instead, which you can find <a href=\"http:\/\/9v.lt\/blog\/?p=188\">here<\/a>.<br \/>\n&#8220;Autovoice&#8221; bot of course works, but not for long. Will ping out after some time :C<\/p>\n<p>Script: <a href=\"http:\/\/9v.lt\/projects\/python\/Autovoice.py\">Autovoice.py<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I&#8217;m an OP on an IRC channel I want it to keep clean, nice<\/p>\n","protected":false},"author":2,"featured_media":1710,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,750],"tags":[351,378,109,113,233,108,142],"class_list":["post-359","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-software-projects","tag-auto","tag-bot","tag-delphi","tag-freepascal","tag-irc","tag-python","tag-voice"],"_links":{"self":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":0,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media\/1710"}],"wp:attachment":[{"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}