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

feat: Replace message event
This commit is contained in:
Timothy Jaeryang Baek 2024-07-12 10:15:43 -07:00 committed by GitHub
commit a049b38ab5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;