Unverified Commit a049b38a authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #3825 from michaelpoluektov/replace-message-event

feat: Replace message event
parents 856845e5 540a669d
...@@ -161,6 +161,8 @@ ...@@ -161,6 +161,8 @@
} }
} else if (type === 'message') { } else if (type === 'message') {
message.content += data.content; message.content += data.content;
} else if (type === 'replace') {
message.content = data.content;
} else if (type === 'confirmation') { } else if (type === 'confirmation') {
eventCallback = cb; eventCallback = cb;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment