mirror of
https://github.com/RustyRaptor/doge_cogs.git
synced 2026-12-03 15:55:21 -07:00
Draw the chart with ImageMagick: one 3x3 picture, or nine tiles sent as a Components V2 media gallery (3x3), with avatars cut into circles. Names and avatars are looked up live; people who left are greyed out. Move all logic into doge_alignment/core, which imports neither discord.py nor Red: immutable Chart dataclasses with pure operations, Config/YAML storage, a view model, pure layout geometry, a Wand painter and an avatar fetcher. The cog and a new CLI (python -m doge_alignment) are front ends. Commands are now one hybrid `alignment` group (text and slash): show, set, remove, prune, clear, style, export, import, admin add/remove/list. Red's admin/mod roles, Administrators and the server owner count as admins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
8 lines
106 B
Python
8 lines
106 B
Python
"""``python -m doge_alignment``: see :mod:`.cli`."""
|
|
|
|
import sys
|
|
|
|
from .cli import main
|
|
|
|
sys.exit(main())
|