:3
This commit is contained in:
parent
d0fa88f302
commit
25746db04e
3
main.cjs
3
main.cjs
@ -160,7 +160,8 @@ function getMatchingPhrase(inputString, targetCharacter) {
|
|||||||
|
|
||||||
global.colonThree = function colonThree(message) {
|
global.colonThree = function colonThree(message) {
|
||||||
if (message.channel.id == "1253947401191034940" && !message.content.endsWith(":3")) {
|
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();
|
message.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user