forgot to do this

This commit is contained in:
Isaac 2024-09-19 10:55:55 +03:00 committed by GitHub
parent eb1e86eda9
commit 440fb5a212
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,11 +24,7 @@ export default definePlugin({
authors: [Devs.Isaac], authors: [Devs.Isaac],
hideMessage(msg: Message) { hideMessage(msg: Message) {
FluxDispatcher.dispatch({type: "MESSAGE_DELETE", FluxDispatcher.dispatch({type: "MESSAGE_DELETE", channelId: msg.channel_id, id: msg.id, mlDeleted: true});
channelId: msg.channel_id,
id: msg.id,
mlDeleted: true
});
}, },
start() { start() {