mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 21:24:59 +05:00
10 lines
199 B
JavaScript
10 lines
199 B
JavaScript
|
module.exports = class {
|
||
|
constructor (client) {
|
||
|
this.client = client;
|
||
|
}
|
||
|
|
||
|
async run (oldMessage, newMessage) {
|
||
|
if (!newMessage.editedAt) return;
|
||
|
this.client.emit("message", newMessage);
|
||
|
}
|
||
|
};
|