feat: add redirect channel to topic drift messages

Topic drift reminders and nudges now direct users to a specific
channel (configurable via redirect_channel). Both static templates
and LLM-generated redirects include the clickable channel mention.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 17:44:25 -05:00
parent a836584940
commit f7dfb7931a
3 changed files with 40 additions and 27 deletions

View File

@@ -30,6 +30,7 @@ game_channels:
topic_drift:
enabled: true
use_llm: true # Generate redirect messages via LLM instead of static templates
redirect_channel: "general" # Channel to suggest for off-topic chat
ignored_channels: ["general"] # Channel names or IDs to skip topic drift monitoring
remind_cooldown_minutes: 10 # Don't remind same user more than once per this window
escalation_count: 3 # After this many reminds, DM the server owner
@@ -51,18 +52,18 @@ messages:
mute_title: "\U0001F6A8 BREEHAVIOR ALERT \U0001F6A8"
mute_description: "{username} has been placed in timeout for {duration}.\n\nReason: Sustained elevated drama levels detected.\nDrama Score: {score}/1.0\nCategories: {categories}\n\nCool down and come back when you've resolved your skill issues."
topic_reminds:
- "Hey {username}, this is a gaming server 🎮 — maybe take the personal stuff to DMs?"
- "{username}, sir this is a gaming channel."
- "Hey {username}, I don't remember this being a therapy session. Gaming talk, please. 🎮"
- "{username}, I'm gonna need you to take that energy to DMs. This channel has a vibe to protect."
- "Not to be dramatic {username}, but this is wildly off-topic. Back to gaming? 🎮"
- "Hey {username}, this is a gaming server 🎮 — take the personal stuff to {channel}."
- "{username}, sir this is a gaming channel. {channel} is right there."
- "Hey {username}, I don't remember this being a therapy session. Take it to {channel}. 🎮"
- "{username}, I'm gonna need you to take that energy to {channel}. This channel has a vibe to protect."
- "Not to be dramatic {username}, but this is wildly off-topic. {channel} exists for a reason. 🎮"
topic_nudges:
- "{username}, we've been over this. Gaming. Channel. Please. 🎮"
- "{username}, you keep drifting off-topic like it's a speedrun category. Reel it in."
- "Babe. {username}. The gaming channel. We talked about this. 😭"
- "{username}, I will not ask again (I will definitely ask again). Stay on topic. 🎮"
- "{username}, at this point I'm keeping score. That's off-topic strike {count}. Gaming talk only!"
- "Look, {username}, I love the enthusiasm but this ain't the channel for it. Back to games. 🎮"
- "{username}, we've been over this. Gaming. Channel. {channel} for the rest. 🎮"
- "{username}, you keep drifting off-topic like it's a speedrun category. {channel}. Now."
- "Babe. {username}. The gaming channel. We talked about this. Go to {channel}. 😭"
- "{username}, I will not ask again (I will definitely ask again). {channel} for off-topic. 🎮"
- "{username}, at this point I'm keeping score. That's off-topic strike {count}. {channel} is waiting."
- "Look, {username}, I love the enthusiasm but this ain't the channel for it. {channel}. 🎮"
topic_owner_dm: "Heads up: {username} keeps going off-topic with personal drama in #{channel}. They've been reminded {count} times. Might need a word."
channel_redirect: "Hey {username}, that sounds like {game} talk — head over to {channel} for that!"
@@ -176,7 +177,7 @@ coherence:
default: "You okay there, {username}? That message was... something."
reactions:
enabled: true
enabled: false
chance: 0.15 # Probability of evaluating a message for reaction
cooldown_seconds: 45 # Per-channel cooldown between reactions
excluded_channels: [] # Channel names or IDs to skip reactions in