IRC
Manage the IRC layer.
Classes
- class irc_api.irc.IRC(host: str, port: int)
Manage connection to an IRC server, authentication and callbacks.
Attributes
- connectedbool, public
If the bot is connected to an IRC server or not.
- socketssl.SSLSocket, private
The IRC’s socket.
- inboxQueue, private
Queue of the incomming messages.
handler : Thread, private
Methods
- __init__(host: str, port: int)
Initialize an IRC wrapper.
Parameters
- hoststr
The adress of the IRC server.
- portint
The port of the IRC server.