Execute on message edit

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-01 18:44:08 -05:00
parent 999282bc9f
commit 1013d58095

View File

@ -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) {