Execute on message edit
This commit is contained in:
parent
999282bc9f
commit
1013d58095
4
main.ts
4
main.ts
@ -106,8 +106,8 @@ client.on('messageCreate', message => {
|
|||||||
checkMessage(message);
|
checkMessage(message);
|
||||||
});
|
});
|
||||||
|
|
||||||
client.on('messageEdit', message => {
|
client.on('messageUpdate', (undefined, newMessage) => {
|
||||||
checkMessage(message);
|
checkMessage(newMessage);
|
||||||
});
|
});
|
||||||
|
|
||||||
function checkMessage(message) {
|
function checkMessage(message) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user