Skip to content

Commit 29cd583

Browse files
committedJul 3, 2024·
adjusted condition
1 parent 917b50c commit 29cd583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎functions/ENGINE/checkin/postReaction.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports.run = async (message) => {
6969
console.log(date.format('YYYY-MM-DD'));
7070
if (date && date.isValid()) {
7171
const age = moment().diff(date, 'years');
72-
if (age <= 18) {
72+
if (age <= 17) {
7373
message.channel.send('Hello! You don\'t seem to be old enough for our server.\nPlease come back, when you are old enough.');
7474
checked = true;
7575
checkedText = 'Not old enough';

0 commit comments

Comments
 (0)
Please sign in to comment.