Parsing Server Notices on ErgoIRCd using a Limnoria bot plugin.
Go to file
Georg Pfuetzenreuter 4d13d704dc
Clean up Redis logic
Simplify functions and move internal database interfaces into a more
appropriate data structure.
Configure all database numbers using a redis plugin group, instead of
using a custom setting just for the whois database to make the setup
more logical.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2024-10-06 17:22:19 +02:00
local Initial commit 2021-06-19 16:08:43 +05:30
__init__.py Initial commit 2021-06-19 16:08:43 +05:30
.gitignore Whois + Caching + Nickname/IP address counting 2021-08-27 14:25:42 +02:00
config.py Clean up Redis logic 2024-10-06 17:22:19 +02:00
plugin.py Clean up Redis logic 2024-10-06 17:22:19 +02:00
README.rst Adding branch info to README.rst 2021-08-27 15:05:25 +02:00
requirements.txt black formatting 2023-05-03 20:13:41 +05:30
test.py Initial commit 2021-06-19 16:08:43 +05:30

SnoParser + Redis

Parses the Server Notices from ErgoIRCd.

This branch contains Redis functionality: Performs and caches WHOIS lookups for connecting IP addresses. Counts nicknames and IP addresses.

Assumptions

  • force-nick-equals-account=True
  • The Bot needs to be oper and have all the snomasks.

Current Coverage

  1. CONNECT
  2. XLINE
  3. NICK
  4. KILL
  5. ACCOUNT (reg only)

Configurations

  1. Formatting for 'AutoVhost' post Registration (TODO: Disable)
  2. Configure the '#channel' to send the SNO lines (disabled by default) (TODO: Add Exceptions)
  3. Use ZWSP to toggle nickhighlights when in channel.