Questions tagged [irc]

IRC - Stands for Internet Relay Chat is an internet based chat protocol. Main idea is to have users connect to a server network, where they can then send messages to each other through channels or direct chat. Today there's quite a few different networks, usually each with a main thematic. Stack Overflow got its own channel on the FreeNode network. You can read more about that on the full tag wiki page.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

IRC error in bot written on ruby Connection reset by peer @ io_fillbuf - fd:5 (Errno::ECONNRESET)

I was trying to make an IRC bot in ruby, and get some really strange error. I didn't find anything in the web about it. There error is Connection reset by peer @ io_fillbuf - fd:5 (Errno::ECONNRESET) ...
0 votes
0 answers
33 views

I cannot connect to my own IRC server with python socket

I am Japanese and I am not good at speaking English. Please let me know if there is anything I say that you don't understand. I have a question regarding Python's socket module. I am setting up an IRC ...
  • 1
1 vote
0 answers
42 views

Need help connecting to libera chat

I am having trouble connecting to libera.chat and irc.libera.chat using Konversation Version 1.8.21123 on Jammy Jellyfish (fully updated). I have worked through the steps given on https://userbase.kde....
  • 71
0 votes
0 answers
38 views

Combining discord.py bot and python IRC client with asyncio

I have a discord bot written in python using the discord.py library and want to combine it with a basic selfwritten IRC client. My idea was to use the discord bot to control the IRC client (join and ...
  • 35
0 votes
0 answers
21 views

Parse IRCv3 format into JSON

I have output from Twitch that goes like this: @badges=moderator/1,subscriber/18,sub-gifter/5;room-id=[RoomID];emotes=;rm-received-ts=1675790149563;id=[LongString];subscriber=1;returning-chatter=0;...
  • 17
0 votes
1 answer
47 views

Problem with retransmitting stdin to a server in OCaml

I'm trying to write an IRC inspired server along with a client capable of communicating with it as a part of my uni class. I already wrote a server with which i can successfully interact using tools ...
0 votes
1 answer
79 views

Connect to IRC server with python

i am trying to connect to anonops irc server and subsequently #anonops channel using python. What i have done so far : import sys import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
  • 101
0 votes
0 answers
111 views

Why cant i send Private Message with Python IRC

I try to send a message to an IRC bot,but always have this error: OSError: [WinError 10057] Une requête d’envoi ou de réception de données n’a pas été autorisée car le socket n’est pas connecté et (...
0 votes
1 answer
120 views

How do I read Twitch chat with PircBotX?

I am trying to read messages from a twitch channel using PircBotX and Java but something doesn't seem to be working properly. TwitchBot.java: import org.pircbotx.Configuration; import org.pircbotx....
1 vote
1 answer
261 views

WeeChat/irc - Tor Proxy

I dont think this is a very hard to solve problem, never the less I didnt find anything about it online. I am pretty new to irc/weechat and obviously dont want to leak my ip whenever i join a room. So ...
  • 78
0 votes
0 answers
117 views

C++: how to transfer files to netcat listener?

I'm working on an IRC server using c++, and I want to add files transfer to my server, but I don't know how to create the file in the user's host. I can read the file and send the bytes to netcat, but ...
0 votes
3 answers
512 views

TwitchIO send cool down message

basically I'm using TwitchIO for a twitch BOT. I set a time limit to prevent users from spamming. When a user tries to spam an error is raised indicating that they must wait 30 seconds. However, I ...
  • 3
0 votes
1 answer
45 views

Read over netcat returning unexpected things, including ls of the directory it's running in [duplicate]

I'm making a simple irc bot with netcat. The first part is: #! /bin/bash # nc -c ./connect.sh irc.rizon.net 6667 tee /dev/stderr | { sleep 5 echo "USER testbot * * :test" ...
1 vote
1 answer
105 views

How to read IRC chat messages

Using Perl module AnyEvent::IRC::Connection I am able to connect to Twitch server as follows: use AnyEvent; use AnyEvent::IRC::Connection; use Data::Dumper; use constant IRC_ADDR => 'irc....
  • 42.1k
-1 votes
1 answer
141 views

Want to use python for mirc connection but it give error

hi i am trying to connect mirc using below script import socket import sys server = "irc.all4masti.com" #settings channel = "#all4masti" botnick = "botname" irc = ...
0 votes
0 answers
120 views

Shoutcast 2.5 mIRC Socket Bot Connection Problem

I have a socket bot that I use as a radio, but it cannot pull the data and reflect it to the channel. What is the problem? sockwrite -nt $sockname GET $+(/admin.cgi?pass=,$_rpass,&sid=1&mode=...
1 vote
0 answers
52 views

Code that worked on Replit doesn’t work in VSC

Basically, my code worked completely fine in replit, but now it doesnt work in a vsc folder. my replit version also suddenly can’t send any messages anymore. it sends all the console.logs but the ...
1 vote
0 answers
562 views

Sending messages to Twitch chat with Python

I have OAuth token of account and want to send messages from Python console. All the methods that I found were more related to bots, but I want to send messages myself. The only way to do it for now ...
  • 21
0 votes
0 answers
60 views

c++ ostream operator overload is not displaying correctly

I am working on programming an IRC server, and am having issues with the overload of operator<<. I have IrcServer and IrcClient classes, and I want to be able to output a server and a client. ...
  • 1
0 votes
0 answers
231 views

How to send message to followers-only Twitch chat?

I use this code: import socket import socks channel = 'some_channel' name = 'some_nickname' oauthtoken = 'oauth:sometoken123456' message = 'hello chat' s = socks.socksocket(socket.AF_INET, socket....
  • 1
0 votes
1 answer
85 views

Send message to IRC channel using SaltStack

I have a custom SaltStack event and want to send a message to our IRC when the event occurs. I know how to hook into this event. Question is: How to send a message to our IRC server using SaltStack? ...
  • 935
0 votes
1 answer
66 views

Low-level socket Error; irc.chat-Bot gives back an Attribute error

Hello fellow error searchers, So, im trying to connect to the twitch servers with a barebone socket import because, rather than importing an module i wanna learn some basics, anyways, it terminates ...
0 votes
1 answer
234 views

Ban logs in IRC channels, on the example of twitch

I am writing a bot in Python + Sockets to collect logs on several twitch channels at the same time. Actually, there are no problems with the messages themselves, but I would like to collect ban / ...
  • 13
-1 votes
1 answer
114 views

Python: IRC bot made with socket library returning error "Bad file descriptor"

I've been trying to write an IRC bot but when I try to send a command to it I have been receiving the error "Bad File Descriptor", this is hard to troubleshoot and I cannot figure out why it'...
0 votes
3 answers
301 views

How can my IRC client print data that was received before it's in the loop that reads incoming traffic?

I have just coded in python a very basic IRC bot that connects to a IRC channel and prints what the server returns. import socket import time SERVER = "irc.example.com" CHANNEL = "#...
1 vote
2 answers
193 views

IRC client does not print/receive full response

#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <netdb.h> #include <unistd.h> static char *host = "irc.libera.chat"; static char *port = &...
-1 votes
1 answer
182 views

Twitch Bot unable to send messages to other channels (Exception of 1 account being able to)

So I’m trying to make a bot for twitch, through irc (pIRC on java) and I’m having issues. I only seem to be able to send messages to the user's own channel. Except for one account, which can send ...
0 votes
0 answers
64 views

Detect when new user connects to irc in miniirc

I want to make an irc bot using miniirc and I need to detect when a user connects and give him voice. Unfortunately I have no idea on how to detect when someone enters the chat and how to give him ...
0 votes
1 answer
358 views

Joining twitch irc through helix api, (5000+ channels) connection reset error

To start off im using an anonymous connection joining the channels which means there are no JOIN limits, I have tried different variations of sleeping, I started off just joining from a text however ...
0 votes
0 answers
147 views

Communicate between a client computer and a vps server JAVA

i know there is alot of post that ask how to comunicate between client and server ,but in the majority those are generally people using the localhost, I have for project to use a vps and several ...
  • 3
1 vote
0 answers
78 views

My Bot::BasicBot based Perl bot only connects but does not perform other actions

I am trying to make a perl bot connecting to IRC with the Bot::BasicBot package but even the most simple subroutines don't seem to have effect on the bot's behaviour. I am a beginner in Perl ...
0 votes
1 answer
61 views

Gaim - How to develop a plugin? (Pidgin)

I need some of your help. I searched everywhere on the internet, but I could not find how to create a plugin for Gaim, the predecessor of Pidgin. I do NOT want to create a Pidgin plugin. I want to ...
0 votes
1 answer
399 views

Connecting to ZNC over SSL

I try to setup ERC > ZNC connection over SSL. The no-SSL connections works fine. The problem is when I try to connect using Erc via erc-tls command, nothing happens, the "Opening Connection..&...
  • 327
2 votes
1 answer
97 views

Convert deprecated Perl's Net::IRC codes to AnyEvent::IRC::Client inquiry

Since the Perl's Net::IRC library's been deprecated, I need to convert some old code that uses it over to the newer AnyEvent::IRC::Client. The problem is that the MetaCPAN's AnyEvent docs. don't show ...
  • 245
0 votes
2 answers
69 views

Python IRC and LinkNet port troubles

I am trying to make a python IRC bot that connects to LinkNet (I'm connecting to the address irc.de2.link-net.org). Usually LinkNet tells you to join with port +7000. Here's some of my code: self.irc....
2 votes
1 answer
2k views

TwitchIO: How to send a chat message?

Is there a way to send a message via the TwitchIO library? for example, send a message if the time is 10:43 PM? This is not an event nor a message from twitch chat, that's an if/else totally invoked ...
  • 383
1 vote
1 answer
105 views

Perl's AnyEvent::IRC::Client library does not close after sending messages

I'm exploring the AnyEvent::IRC::Client library to send a list of messages to an IRC channel. I follow the sample code from its metacpan site (ref: https://metacpan.org/pod/AnyEvent::IRC::Client), ...
  • 245
-2 votes
1 answer
1k views

In Hexchat or any IRC client, how do I view my past conversation with a person if that person is no longer in the network?

I believe I can message any name directly with msg <nick> <message>, but is there a way to actually view my message conversation / history with that person?
0 votes
1 answer
41 views

Can someone help me better understand zero or one in regex and possibly with nesting another within the same regex statement

So I am creating a regex to recognize commands for a basic IRC and have come to one command that is giving me some trouble and has made me think about my previous commands a bit and possibly might ...
1 vote
1 answer
118 views

Best way to watch multiple IRC channels in Azure

I am attempting to connect my application to multiple IRC channels to read incoming chat messages and send them to my users. New channels may be added or existing channels may be removed at any time ...
-1 votes
1 answer
2k views

Python 3.8 TypeError: can't concat str to bytes - TypeError: a bytes-like object is required, not 'str'

Very new to coding. This was the initial code I was trying to get to run but have found it is incompatible with python 3 because of how it handles strings and bytes. def opensocket(): s = socket....
1 vote
1 answer
44 views

Not all code paths return a value why is the happpening for my HAM Shortwave radio app

So I am coding a Windows Console app in C# that is for Shortwave HAM Radio DX enthusiasts to look Number Station and oddity broadcast times on their desktop. I am using Visual Studio Community edition ...
2 votes
1 answer
71 views

WPF-App unsuable when using IRC-Client in Twitch [C#]

I want to set up my own TwitchBot with a nice User-Interface. But I ran into some troubles: I am sorry about the formatting, but it doesn't copy it from Visual Studio nicely and formatting here seems ...
  • 57
0 votes
1 answer
47 views

I receive 'str' object has no attribute 'callables'

Trying to go through the list and display the callables assigned in cmds This is in __init__.py: class Cmd(object): def __init__(self, callables, func, cooldown=0): self.func = func ...
0 votes
1 answer
74 views

Why doesn't my asynchronous write function run?

Ok, so I've been making an asynchronous IRC and it works fine except for one issue. The client can write and the server can read. Except the server can't write and the client can't read. Any help? ...
2 votes
1 answer
225 views

python irc bot trying to consume two different messaging system

I'm using the python irc module [1] and the pika module in python to create an irc bot that listens to both channel messages and to a rabbitmq queue. I took the source code from [2] and added the ...
  • 2,147
0 votes
1 answer
84 views

IRC | asynchronous communitcation

I'm currently working on an IRC-Chat and we want to add the option to chat with other people privately (User-To-User) which works fine, but the messages aren't stored, meaning that a user loses all ...
  • 106
1 vote
1 answer
827 views

How can I configure SSL for an IRC bot in Python?

How can I fix this error : ERROR :NON-SSL command received on SSL-only port. Check your connection settings My code: import socket ircsock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
0 votes
1 answer
45 views

Pircbotx channel setMode() not working in main() method

I'm trying to set mode to an IRC channel but PircBotX doesn't seems to execute the command when called in the main method. The command executes when I send the message (!setRModePlus) that I have set ...
  • 5
1 vote
2 answers
514 views

How to fix broken pipe error in python? (Working on IRC client)

I am receiving broken pipe error in my python IRC client prototype. I tried to find the answer to this issue on internet, but nothing helped. I think the mistake is in sending data to closed port, but ...
  • 58

1
2 3 4 5
23