DPYLogger(guild=None, channel=<TextChannel>) passed initialize() (both int-guards skipped) but then every send failed at _get_guild(None) and got swallowed — logs never reached discord, no loud setup signal. now derive self.guild from the channel it already carries, or raise loud at setup for a truly guild-less channel (mirroring the int-channel guard). verified vs discord.py 2.7.1. bump v0.1.2 -> v0.1.3 Signed-off-by: disqualifier <dev@disqualifier.me>
16 lines
360 B
TOML
16 lines
360 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "dpy_logger"
|
|
version = "0.1.3"
|
|
description = "Leveled Discord channel logger for discord.py — config-free, injectable, installable."
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"discord.py>=2.0",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/dpy_logger"]
|