From 25746db04e3017f6f4e3d14131ab0d767a08a0c0 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Tue, 6 Aug 2024 11:25:06 -0500 Subject: [PATCH] :3 --- main.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cjs b/main.cjs index 8c7f7e2..88823d6 100644 --- a/main.cjs +++ b/main.cjs @@ -160,7 +160,8 @@ function getMatchingPhrase(inputString, targetCharacter) { global.colonThree = function colonThree(message) { if (message.channel.id == "1253947401191034940" && !message.content.endsWith(":3")) { - message.send("Your message does not end in :3."); + const channel = client.channels.cache.get(message.channel.id); + channel.send( "Your message does not end in :3."); message.delete(); } }