Execute on message edit

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-01 18:44:08 +07:00
parent 999282bc9f
commit 1013d58095
1 changed files with 2 additions and 2 deletions

@ -106,8 +106,8 @@ client.on('messageCreate', message => {
checkMessage(message);
});
client.on('messageEdit', message => {
checkMessage(message);
client.on('messageUpdate', (undefined, newMessage) => {
checkMessage(newMessage);
});
function checkMessage(message) {