Root cause: apply_mention_policy() in utils.py used raw strings for re.sub replacement arguments: re.sub(r'<@&(\d+)>', r'@\u200brole', content) The r-prefix makes \u200b literal backslash-u instead of Unicode ZWSP. Python's re.sub always validates the replacement template, so \u at position 1 raises re.error on EVERY message — even without matches. Since _DEFAULT_NETWORK sets mention_policy.allow_role_mentions=False, this code path runs for all networks, causing _do_relay to throw on every single message. The exception was caught by on_message's try/except, silently killing relay with total_messages stuck at 0. Fix: remove r-prefix from replacement strings so \u200b is correctly interpreted as the Unicode zero-width space character.
36 lines
2.5 KiB
JSON
36 lines
2.5 KiB
JSON
{
|
|
"author": ["everestmcarthur"],
|
|
"install_msg": "Thanks for installing **Wormhole v3.4.3** — the ultimate cross-server relay!\n\nGet started: `[p]wh create <network-name>` then `[p]wh open <network-name>` in channels you want to link.\n\nNew in v3.4.3: Fixed critical relay bug — raw string in mention_policy regex replacement caused every message to crash in _do_relay. Also added diagnostic commands (relaydebug, testsend, tracemode). v3.4.2: Fixed empty-prefix command filter. v3.4.1: Relay engine hardening.\n\nFull help: `[p]wh help` or `/wh help`",
|
|
"name": "Wormhole",
|
|
"disabled": false,
|
|
"short": "The ultimate cross-server relay — hybrid commands, context menus, ToS, reports, mentions policy, 85+ commands.",
|
|
"description": "Wormhole v3.4.0 connects Discord channels across multiple servers into named networks. All commands work as both slash commands and prefix commands (hybrid). Features: real-time message relay (webhooks/embeds/compact), edit/delete/reaction/reply/sticker/pin/typing sync, bidirectional DM relay, auto-moderation engine, granular mention policy (per-network + per-server + per-user), Terms of Service acceptance gate with legal template, user report system with mod actions, context menu actions (report/bookmark/delete/profile), cross-network starboard, karma system, keyword highlights, invite codes with vanity URLs, staff announcements, portal embeds, user profiles, backup/restore, blackout scheduling, anonymous mode, network-wide polls, AFK system, auto-responses, ephemeral messages, analytics dashboard, health monitoring, message bookmarks, user colours, quiet hours, network bridging, and much more.",
|
|
"tags": [
|
|
"relay",
|
|
"crossserver",
|
|
"wormhole",
|
|
"chat",
|
|
"bridge",
|
|
"network",
|
|
"webhook",
|
|
"moderation",
|
|
"automod",
|
|
"starboard",
|
|
"karma",
|
|
"dm",
|
|
"global",
|
|
"analytics",
|
|
"polls",
|
|
"anonymous",
|
|
"hybrid",
|
|
"slash",
|
|
"contextmenu",
|
|
"reports",
|
|
"tos"
|
|
],
|
|
"type": "COG",
|
|
"end_user_data_statement": "This cog stores Discord user IDs, guild IDs, and channel IDs for relay functionality. Per-user data includes message counts, karma scores, keyword highlights, DM relay subscriptions, bookmarks, AFK status, ignore lists, colour preferences, quiet hour settings, analytics counters, ToS acceptance timestamps, and report records.",
|
|
"min_bot_version": "3.5.0",
|
|
"min_python_version": [3, 9, 0],
|
|
"requirements": []
|
|
}
|