1
0
Fork 0
mirror of https://github.com/JonnyBro/JaBa.git synced 2025-03-05 14:39:39 +05:00
JaBa/events/messageUpdate.js

10 lines
197 B
JavaScript
Raw Normal View History

2022-01-04 02:18:28 +05:00
module.exports = class {
constructor(client) {
this.client = client;
}
async run(oldMessage, newMessage) {
if (!newMessage.editedAt) return;
this.client.emit("message", newMessage);
}
};