Skip to content

Commit 52025e0

Browse files
committed
fix: increase response probability for codify and morpheus mentions to 25%
1 parent ce4b621 commit 52025e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Handlers/FunnyResponsesHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ private async Task HandleMessageAsync(SocketMessage messageParam)
6363
// If both are present pick one at random so we only ever reply once
6464
string chosen = matches.Count == 1 ? matches[0] : matches[random.Next(matches.Count)];
6565

66-
// 10% chance to respond
67-
if (random.NextDouble() >= 0.10)
66+
// 25% chance to respond
67+
if (random.NextDouble() >= 0.25)
6868
return;
6969

7070
string reply = chosen switch

0 commit comments

Comments
 (0)