This is just a compilation of modules and addons for hexchat, using its Python plugin.
Abstractions for hexchat's hexchat.*_pluginpref
API,
wrapped in a MutableMapping.
All settings are prefixed with the plugin name internally
to prevent collisions.
Supports being wrapped with a JSON serializer,
thus allowing to store lists and dictionaries too.
The interface is essentially a dict
.
For details, refer to docstring or tests (in same directory).
Collection of utility functions.
Refer to the source code and docstrings for details.
Transforms raw mode messages to remove redundant information.
Requires /set irc_raw_modes 1
.
May cause incompatibilities with other scripts that rely on a certain Raw Modes format.
Expands a preceding #
character to the current channel
when you press space or tab after it.
Hold shift key to insert literal space.
Note: Only works if at the end of input.
Mutes spammy +o, -o as well as join and part messages if there are more than a certain number of users in a channel.
Automatically requests the twitch.tv/membership
and twitch.tv/commands
capabilities from the network.
Based on smartparts.py.
Mutes a variety of events for users that never talk, or haven't talked in a certain period (60 minutes by default).
- Muted events are: Joins, Parts, Renames and Mode Changes.
- If a recently joined user starts talking, his 'Join' event is late-emitted with the original timestamp.
- Handles renames.
- If a user that previously talked parts and joins again (or renames), the events are shown.
- Events for nicks in your notify list are always shown.
Works with ZNC bouncers and also works with *buffextras module using buffextras.py.
Print (or announce) a YouTube video's title.
Requires a Google API key!
Set it using /ytt key set <key>
.
By default, it will only print the title for you locally.
/ytt get
prints titles of the videos specified/ytt announce
manages a list of channels where the title should be announced (i.e./say
)/ytt mute
manages a list of channels where YouTube urls should be ignored/ytt key
manages the stored key
Prerequisites: A Google account
- Create a project at https://console.developers.google.com/project
- Browse "APIs & auth -> APIs" in the sidebar
- Select "YouTube Data API"
- Click "Enable API"
- Browse "APIs & auth -> Credentials" in the sidebar
- Click "Create new Key"
- Select "Server Key" and leave the IP range input blank (or insert some IP range if you feel like it)