Client API¶
-
class
pydle.
Client
¶ pydle.Client
implements the featureset ofpydle.BasicClient
with all the features in thepydle.features
namespace added. For the full reference, check thepydle.BasicClient
documentation and the Feature API reference.
-
class
pydle.
MinimalClient
¶ pydle.MinimalClient
implements the featureset ofpydle.BasicClient
with some vital features in thepydle.features
namespace added, namely:For the full reference, check the
pydle.BasicClient
documentation and the Feature API reference.
-
class
pydle.
ClientPool
(clients=None, eventloop=None)[source]¶ A pool of clients that are ran and handled in parallel.
-
class
pydle.
BasicClient
(nickname, fallback_nicknames=[], username=None, realname=None, eventloop=None, **kwargs)[source]¶ Base IRC client class. This class on its own is not complete: in order to be able to run properly, _has_message, _parse_message and _create_message have to be overloaded.
users
A
dict
mapping a username to adict
with general information about that user. Available keys in the information dict:nickname
: The user’s nickname.username
: The user’s reported username on their source device.realname
: The user’s reported real name (GECOS).hostname
: The hostname where the user is connecting from.
channels
-
connected
¶ Whether or not we are connected.