Skip to content

Commit

Permalink
fix message.replace
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Jun 4, 2024
1 parent d01c02b commit 25eb1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def invoke_claude_3(messages):
def reply_text(messages, channel, ts, user):
message = invoke_claude_3(messages)

message = re.sub("**", "*", message)
message = message.replace("**", "*")

chat_update(channel, ts, message)

Expand Down

0 comments on commit 25eb1d2

Please sign in to comment.