This project has been archived by its maintainers, and is no longer receiving any updates.
sopel-chanlogs
A channel logging plugin for Sopel IRC bots
This package no longer receives updates. Please upgrade to Sopel 8.0+ and
sopel-chanlogs when you are able to do so.
Requirements
sopel-chanlogs requires only Sopel 7.x itself.
Usage
Install the package from PyPI:
pip install sopel-modules.chanlogs
Enable with the sopel-plugins enable chanlogs command, if your bot
configuration requires it.
Configuration
All settings are optional, falling back on sensible defaults.
- dir
- Path to channel log storage directory. Default: ~/chanlogs
- by_day
- Split log files by day. Default: True
- privmsg
- Record private messages. Default: False
- microseconds
- Include microseconds in log timestamps. Default: False
- localtime
-
Attempt to use preferred timezone (the bot's core.default_timezone) instead of UTC. Default: False
Please note that Sopel's default default_timezone is UTC.
Advanced configuration
Log line templates can be overridden using the relevant setting from this list:
message_templateaction_templatejoin_templatepart_templatequit_templatenick_templatetopic_template
Each template is formatted using the following {placeholder} values:
- the
trigger, with all of its attributes (see Sopel's documentation) - the
datein ISO format - the
timein ISO format - the full
datetimein ISO format
For convenience, the message_template also receives a message placeholder.
Please consult the plugin's code for current default templates.
Metadata
Release files for sopel-modules.chanlogs 0.2.3.post0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sopel_modules_chanlogs-0.2.3.post0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sopel_modules.chanlogs-0.2.3.post0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / sopel_modules_chanlogs-0.2.3.post0.tar.gz
| Download URL | sopel_modules_chanlogs-0.2.3.post0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cf9ef7b1e475cc0c101d6b7c774be8802fe589a0fc774ec3a9c775e76287fc9
|
|
BLAKE2b-256 checksum How to use checksums |
a071608863e643b36e5afd623ff8b0a6d8904ae8fca19f99f4435e834a36a081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / sopel_modules.chanlogs-0.2.3.post0-py3-none-any.whl
| Download URL | sopel_modules.chanlogs-0.2.3.post0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad2fe9e452612d4854e7155241642719adf31ef58d45f90ad608ab62738f46ee
|
|
BLAKE2b-256 checksum How to use checksums |
413169eb8fde3ffdc241d0c5dd649006c761cc8f9841c5b6e0ccf159c5595861
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|