EveCogs/rubylogging
root 645a8f6985 fix(rubylogging): eliminate duplicate logs and add image previews
**Fixed Duplicate Logs:**
- Skip registering generic handlers for message_delete and bulk_delete
- These events are now handled only by specialized attachment handlers
- Eliminates 2x delete logs and 3x edit logs issue

**Added Image Previews:**
- Deleted messages now show image previews in the embed
- Cached attachments display the actual image/GIF
- Multiple images shown as separate embeds with numbering
- set_image() on main embed for first attachment

**Improved Message Edit Display:**
- No more duplicate "Argument 1" and "Argument 2"
- Clean before/after content comparison
- Shows context (author, channel, jump link) separately
- Better content truncation (200 chars vs 50)
- Pin status with emoji (📌 Pinned)
- Tracks attachment count changes

**Better Change Detection:**
- Message edits: old/new content, pin status, embeds, attachments
- Cleaner formatting with proper line breaks
- Longer content previews for readability

All logs are now single, beautiful embeds with image previews!

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-05-22 22:08:17 +00:00
..
__init__.py rubylogging/__init__.py | 19 ++ 2026-05-22 21:04:03 +00:00
info.json feat: comprehensive audits + fixes for UserSlash & NewHelpMenu, new RubyLogging cog 2026-05-22 21:15:16 +00:00
rubylogging.py fix(rubylogging): eliminate duplicate logs and add image previews 2026-05-22 22:08:17 +00:00