JaBa/events/messageUpdate.js
2022-01-03 23:20:33 +05:00

10 lines
No EOL
203 B
JavaScript

module.exports = class {
constructor(client) {
this.client = client;
}
async run(oldMessage, newMessage) {
if (!newMessage.editedAt) return;
this.client.emit("messageCreate", newMessage);
}
};