The Threads module that provides advanced moderation features and supports all thread types.
Inspired by a bot from Discord server (ID: 1284782072484986993).
- Thread lifecycle management (creation, locking, archival)
- Content moderation with AI-powered analysis
- Granular permission and role-based access control
- Automated timestamp prefixing ([YYMMDDHHSS])
- Configurable poll generation (48h duration)
- Dynamic featured post rotation system
- Thread-specific user management
- Privacy-focused link sanitization
- Comprehensive activity logging and analytics
- Democratic timeout voting system
- AI-enhanced divination features
/threads top
- Navigate to thread origin/threads lock <reason>
- Lock current thread/threads unlock <reason>
- Unlock current thread/threads convert
- Convert channel names between Chinese variantssource
- Source language variant:- Simplified Chinese (Mainland)
- Traditional Chinese (Taiwan/HK/Mainland)
- Japanese Shinjitai
target
- Target language variantscope
- Conversion scope (All/Server/Roles/Channels)
/threads timeout
poll <user> <reason> <duration>
- Start timeout votecheck <message>
- AI content analysisset <key>
- Configure GROQ API (Admin)
/threads list <type>
- View thread data- Banned users
- Permission assignments
- Post statistics
/threads view <type>
- View global configurations- Requires appropriate role
/threads debate
- Debate management/threads divination
ball <wish> [ephemeral]
- Crystal ball consultationdraw <target> [ephemeral]
- Fortune drawingtarot <cards> <query> [ephemeral]
- Tarot readingmeaning <card> [ephemeral]
- Card interpretationrider <question> [ephemeral]
- AI-enhanced reading
/threads debug
(Admin only)config <file> <major> [minor] <value>
- Configure settingsexport <type>
- Export module files
-
Message Context Menu:
- Message in Thread: Manage messages (delete, pin/unpin, AI check)
- Tags in Post: Manage tags associated with a post
-
User Context Menu:
- User in Thread: Ban/unban users or manage their thread permissions
del
- Delete messagepin
- Pin messageunpin
- Unpin message
-
Channel IDs
LOG_CHANNEL_ID
- Logging channelLOG_FORUM_ID
- Log forumLOG_POST_ID
- Log postPOLL_FORUM_ID
- Poll forumsCONGRESS_ID
- Congress channel
-
Role IDs
TAIWAN_ROLE_ID
- Link transform exemptionTHREADS_ROLE_ID
- Debug command accessCONGRESS_MEMBER_ROLE
- Congress membersCONGRESS_MOD_ROLE
- Congress moderators
-
Timeout Settings
TIMEOUT_CHANNEL_IDS
- Voting channelsTIMEOUT_REQUIRED_DIFFERENCE
- Vote thresholdTIMEOUT_DURATION
- Default duration
banned_users.json
- Ban recordsthread_permissions.json
- Permission datapost_stats.json
- Activity metricsfeatured_posts.json
- Featured contenttimeout_history.json
- Timeout logs.groq_key
- AI API configurationtarot.json
- Divination datadebate.json
- Debate tracking/cards
- Tarot card assets
-
Message Analysis
- 15-message context window
- Role/permission awareness
- Channel-specific rules
-
Severity Scale (0-10)
- 0-2: Normal discussion
- 3-4: Mild concerns
- 5-7: Direct violations
- 8+: Automated actions
-
Permission Controls
- Message restrictions
- File/reaction limits
- Channel access
- Mention privileges
- Dynamic Thresholds
- Activity-based adjustment
- Rotation intervals (12h-48h)
- Tag automation
-
Per-User Limits
- 10 requests/minute
- 2000 tokens/minute
- Progressive cooldowns
-
Global Constraints
- 30 requests/minute
- 7000 tokens/minute
- Daily caps
-
Dynamic Thresholds
- 5-15 star range
- Activity/time/quality factors
- Weighted scoring system
-
Statistics
- Rolling windows (24h/7d/4w)
- Threshold history
- Anti-abuse measures