EveCogs/README.md

198 lines
9.5 KiB
Markdown
Raw Normal View History

# EveCogs
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
A premium cog repository for [Red-DiscordBot](https://github.com/Cog-Creators/Red-DiscordBot).
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
## Installation
```
[p]repo add EveCogs https://github.com/everestmcarthur/EveCogs
[p]cog install EveCogs wormhole
[p]load wormhole
```
---
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
# Wormhole v3.4.0
**The ultimate cross-server message relay for Red-DiscordBot.**
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
Connect Discord channels across unlimited servers into named networks. All commands work as **both slash commands and prefix commands** (hybrid). Messages, edits, deletes, reactions, replies, stickers, pins, typing indicators, and files are all relayed in real-time.
## What's New in v3.4.0
- **Hybrid Commands** — every command works as both `/wh` and `[p]wh`
- **Context Menu Actions** — right-click messages/users for Report, Bookmark, Delete, Profile
- **Granular Mention Policy** — control @user, @role, @everyone, @here per-network AND per-server, with per-user exemptions
- **Terms of Service Gate** — require users to accept legal ToS before messaging, with built-in prosecution-ready legal template
- **Mod Edit/Delete Across Network** — staff can edit or delete a message from every server at once
- **Report System** — users can report messages (prefix command or right-click), staff review/action/resolve, with DM warnings and auto-ban/mute
## Feature Highlights
| Category | Features |
|----------|----------|
| **Relay** | Webhook / embed / compact modes, edit & delete sync, reply threading, sticker forwarding, pin sync, typing indicators, file relay |
| **DM Relay** | Bidirectional DM ↔ network messaging, quiet hours, personal ignore lists |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| **Moderation** | Ban/mute users & servers, word + regex filters, attachment filters, global blocklist, purge, network-wide edit & delete |
| **Auto-Mod** | Anti-spam, anti-raid, anti-caps, anti-invite, anti-link, anti-zalgo, anti-spoiler, anti-emote-spam, anti-newlines |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| **Mentions** | Per-network + per-server policy for @user, @role, @everyone, @here with exemptions |
| **ToS/Rules** | Acceptance gate, legal template, consent tracking with timestamps, force re-accept |
| **Reports** | Report via command or context menu, staff review, resolve, action (ban/mute/warn/dismiss) |
| **Staff** | Staff system, ownership transfer, audit log, announcements |
| **Invites** | Invite codes, vanity URLs, expiry, max uses, allowlists |
| **Social** | Karma/reputation, starboard, user profiles, keyword highlights |
| **Scheduling** | Scheduled messages, blackout windows, relay delay, slowmode |
| **Phase 4** | Anonymous mode, mirror channels, polls, AFK, auto-responses, ephemeral messages, media-only, analytics, health monitor, bookmarks, user colours, quiet hours, network bridging |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| **Context Menus** | Report to Wormhole, Wormhole Bookmark, Wormhole Delete (staff), Wormhole Profile |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
## Command Reference (85+ commands)
### Core
| Command | Description |
|---------|-------------|
| `[p]wh create <name>` | Create a new network |
| `[p]wh delete <name>` | Delete a network |
| `[p]wh open <name>` | Link current channel |
| `[p]wh close` | Unlink current channel |
| `[p]wh list` | List all networks |
| `[p]wh info <name>` | Network info & stats |
| `[p]wh portal [name]` | Create/refresh portal embed |
### Settings (`[p]wh set`)
| Command | Description |
|---------|-------------|
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| `set mode` | Relay mode (webhook/embed/compact) |
| `set colour/icon/description` | Network identity |
| `set freeze/silent/nsfw-gate` | Toggles |
| `set ratelimit/slowmode/relay-delay` | Flow control |
| `set anonymous/ephemeral/media-only` | Special modes |
| `set sync-*` | Toggle edit/delete/reaction/reply/sticker/thread/pin/typing sync |
| `set strip-everyone/roles/users` | Legacy mention stripping |
| `set channel-override` | Per-channel setting overrides |
### Mention Policy (`[p]wh mentions`) — NEW
| Command | Description |
|---------|-------------|
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| `mentions set <name> <type> <bool>` | Network-wide policy (users/roles/everyone/here) |
| `mentions server-set <name> <type> <bool>` | Per-server override |
| `mentions exempt <name> @user` | Allow user to bypass policy |
| `mentions unexempt <name> @user` | Remove exemption |
| `mentions status <name>` | View current policy |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
### Terms of Service (`[p]wh tos`) — NEW
| Command | Description |
|---------|-------------|
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| `tos enable <name>` | Require acceptance before messaging |
| `tos disable <name>` | Remove requirement |
| `tos set <name> <text>` | Custom ToS text |
| `tos template <name>` | Reset to legal template |
| `tos accepted <name>` | View who accepted |
| `tos reset <name>` | Force everyone to re-accept |
| `[p]wh accept <name>` | View the ToS |
| `[p]wh agree <name>` | Accept the ToS |
### Reports (`[p]wh report`) — NEW
| Command | Description |
|---------|-------------|
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| `report message [msg_id] [reason]` | Report a message (or reply to one) |
| `report list <name> [show_resolved]` | View reports (staff) |
| `report resolve <name> <id>` | Mark as resolved |
| `report action <name> <id> <action>` | Take action: ban, mute, warn, dismiss |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
### Mod Tools (`[p]wh mod`)
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
| Command | Description |
|---------|-------------|
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| `mod ban/unban/mute/unmute` | User moderation |
| `mod ban-server/unban-server/mute-server/unmute-server` | Server moderation |
| `mod edit <name> <msg_id> <new_text>` | Edit across entire network — NEW |
| `mod nuke <name> <msg_id>` | Delete from entire network — NEW |
| `mod purge <name> [count]` | Purge relayed messages |
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
### Context Menus (right-click) — NEW
| Action | Description |
|--------|-------------|
| **Report to Wormhole** | Right-click any message → opens report modal |
| **Wormhole Bookmark** | Right-click any message → saves to DM |
| **Wormhole Delete** | Right-click any message → deletes from all servers (staff) |
| **Wormhole Profile** | Right-click any user → view their network stats |
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
### DM Relay / Invites / Staff / Filters / AutoMod / Starboard / Karma / Highlights / Blackout / Backup / Global
*See `[p]wh help` for the full interactive reference (4 pages).*
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
### Phase 4 Features
| Command | Description |
|---------|-------------|
| `mirror add/remove/list` | One-way receive-only channels |
| `poll create/close/list` | Network-wide polls with voting |
| `afk <name> [reason]` | Set AFK status |
| `ignore add/remove/list` | Personal ignore list (DM relay) |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| `autoreply add/add-regex/remove/list` | Staff auto-responses |
| `bookmark save/list/clear` | Save messages for later |
| `colour <name> <hex>` | Personal embed colour |
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
| `quiet/quiet-off` | Quiet hours (DM mute) |
| `analytics <name>` | Activity dashboard |
| `health <name>` | Channel permission audit |
| `bridge add/remove/list` | Network-to-network bridging |
---
# GhostWipe
**Auto-deletes a departing member's messages server-wide, with a full HTML audit-log viewer.**
Fires only on `on_member_remove` — covering voluntary leaves, kicks, and bans alike (Discord delivers all three through that single event). GhostWipe then classifies *why* the member left via the audit log, purges every message they ever sent across text channels, voice-channel chats, and threads (including archived ones), and produces a complete audit trail: a summary embed plus a self-contained, dark/light-themed HTML report with sidebar channel switching, search, and attachment previews.
## Feature Highlights
| Category | Features |
|----------|----------|
| **Deletion** | Server-wide purge across text channels, voice chats, active + archived threads |
| **Triggers** | Independently toggle leave / kick / ban as purge triggers |
| **Exemptions** | Whitelist specific users, ignore specific roles or channels |
| **Safety** | Dry-run/simulation mode, grace-period delay that auto-cancels on rejoin, rate-limited scanning |
| **Reporting** | Self-contained HTML viewer (channel switching, search, attachment previews), per-channel breakdown embed, content redaction for privacy, configurable retention |
| **Review** | `history` and `viewreport` to revisit and re-send past purge events, lifetime `stats` |
| **Manual** | `purge` command to backfill a departure GhostWipe missed |
## Command Reference (`[p]ghostwipe`, aliases `gw`/`wipe`)
| Command | Description |
|---------|-------------|
| `enable` / `disable` | Toggle GhostWipe for this server |
| `logchannel [#channel]` | Set/clear where purge reports are posted |
| `trigger <leave\|kick\|ban> <bool>` | Toggle which departure types trigger a purge |
| `whitelist add/remove/list` | Users who are never purged |
| `ignorerole add/remove/list` | Roles that exempt a member from being purged |
| `ignorechannel add/remove/list` | Channels/threads never scanned |
| `scanlimit <messages\|none>` | Per-channel scan depth (or unlimited) |
| `threads` / `archivedthreads` | Toggle scanning active/archived threads |
| `dryrun <bool>` | Simulate and report without deleting |
| `delay <seconds>` | Grace period before purging (cancelled if the member rejoins) |
| `report content/attach <bool>` | Redact report content / attach the HTML file |
| `retention <days>` | Auto-delete saved reports after N days (`0` = forever) |
| `settings` | Full configuration summary |
| `history [page]` | Recent purge events |
| `viewreport <event_id>` | Re-send a past report |
| `stats` | Lifetime purge counters |
| `purge <user> [confirm]` | Manually trigger a purge |
---
## Architecture
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
```
EveCogs/
├── README.md
├── LICENSE (MIT)
├── info.json
└── wormhole/
├── __init__.py
├── info.json
v3.4.0 — Phase 5: hybrid commands, context menus, mention policy, ToS gate, reports, mod edit/delete Phase 5 — Security, Privacy & Power Update: HYBRID COMMANDS - Main command group converted to hybrid_group (slash + prefix) - All commands work as both /wh and [p]wh CONTEXT MENU ACTIONS (right-click) - Report to Wormhole — opens modal for report reason - Wormhole Bookmark — saves message to DM - Wormhole Delete — staff can delete from entire network - Wormhole Profile — view user stats across networks GRANULAR MENTION POLICY - Per-network control: allow/block @user, @role, @everyone, @here - Per-server overrides (different rules per guild) - Per-user exemptions (trusted users bypass policy) - Replaces legacy strip-* with proper policy engine - wh mentions set/server-set/exempt/unexempt/status TERMS OF SERVICE / RULES ACCEPTANCE GATE - wh tos enable — require acceptance before messaging - Built-in legal template (6 sections, prosecution-ready) - Consent tracking with timestamps - wh tos set (custom text), template (reset), accepted (view), reset (force re-accept) - wh accept / wh agree — user-facing acceptance flow - Blocks relay for non-accepted users with helpful reminder MOD EDIT/DELETE ACROSS NETWORK - wh mod edit <name> <msg_id> <new_content> — edits all relayed copies - wh mod nuke <name> <msg_id> — deletes from every server + original - Both audit-logged REPORT SYSTEM - wh report message — report via reply or message ID - Context menu report with modal (reason input) - Anti-abuse cooldown (60s between reports) - Content hashing for audit trails - Reports sent to log channel + network owner DM - wh report list/resolve/action (ban/mute/warn/dismiss) - Capped at 200 reports per network PRIVACY & SECURITY - _ReportModal class for context menu reporting - Content hash stored instead of plaintext in report records - Report cooldowns prevent abuse - ToS acceptance with ISO timestamps for legal compliance 4,196 lines in wormhole.py, 419 in utils.py — 85+ commands total
2026-05-08 02:52:36 +00:00
├── utils.py (419 lines — embeds, filters, automod, mention policy, helpers)
└── wormhole.py (4,196 lines — main cog, 85+ commands, relay engine, context menus)
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
```
## License
v3.2.0 — Phase 3: DM relay, starboard, karma, auto-mod, highlights, search & more Complete ground-up rewrite (2,762 lines across 3 files): Phase 3 features: - Bidirectional DM relay (subscribe, send, receive, 3 formats) - Cross-network starboard with configurable threshold - Reputation/karma system with leaderboard - Keyword highlight notifications (DM alerts) - Anti-raid detection with auto-freeze - Attachment filters (blocked extensions, max filesize) - Pin sync across channels - Typing indicator relay - Network discovery (public flag + tags) - Message search across network - Scheduled messages (timed broadcasts) - Network-wide slowmode - Relay delay (configurable) - Vanity invite codes - Per-channel setting overrides - Purge command (mass delete relayed) - Audit log (500 entries, full trail) - MOTD and rules - Comprehensive README with full command reference Phase 2 features (carried forward): - Auto-moderation engine (spam, caps, invites, links, zalgo, spoiler, emote/newline spam) - Invite system with expiry and max uses - Staff announcements and portal messages - Welcome messages and mention control - User profiles and network stats - Backup/restore (JSON export/import) - Blackout scheduling - Global blocklist (bot owner) - Embed and compact relay modes Phase 1 features (carried forward): - Named networks with webhook relay - Edit/delete/reply/reaction/sticker sync - Staff system with ownership transfer - Word and regex content filters - Rate limiting and NSFW gate - Server nicknames, custom identity - Logging channel
2026-05-07 22:19:09 +00:00
MIT — see [LICENSE](LICENSE).