Commit graph

2 commits

Author SHA1 Message Date
Rosie Val
6dfefbe6dc Remove redundant manual send_help from command groups
redbot.core.commands.Group has autohelp=True by default, and its invoke()
override already calls ctx.send_help() unconditionally whenever no
subcommand matches. Manually calling it too (the
`if ctx.invoked_subcommand is None: await ctx.send_help(ctx.command)`
pattern) caused help to be sent twice on every bare group invocation
across GhostWipe, ImageVault, and Affiliates. Verified against Red's
actual Group.invoke() source before fixing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 23:34:04 +01:00
Rosie Val
0e26fe311f Add ImageVault cog: auto-delete images, re-host in vault channel, retrieve on request
Watches configured channels for image attachments, reposts each image (with
attribution and message text) into a staff-only vault channel, then deletes
the original. Retrieval re-fetches the vault message fresh each time so
there's no stale-link problem, and spoiler tags round-trip intact. Access
to config is admin-only; retrieval defaults to open for everyone.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 18:06:20 +01:00