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(); } }