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