From 6abe473a73ae7d532956971519ddc37f82766ef0 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 9 Apr 2023 22:17:29 -0500 Subject: [PATCH] change when a function is called --- main.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cjs b/main.cjs index 5d86507..7d3ab43 100644 --- a/main.cjs +++ b/main.cjs @@ -129,7 +129,7 @@ client.on('messageUpdate', (undefined, newMessage) => { }); function checkMessage(message) { - checkInsult(newMessage); + checkInsult(message); if (message.content == "<@1091120267851485215>, what are your pronouns?") { message.reply({ content: "My pronouns are she/her ☺️", allowedMentions: { repliedUser: false } }) }