feat: replace message event

This commit is contained in:
Michael Poluektov 2024-07-12 10:41:03 +01:00
parent 856845e5f2
commit 540a669dae

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;