Skip to content

Commit

Permalink
add debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-flip committed Jul 3, 2024
1 parent 93a9a34 commit b634ccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/ENGINE/checkin/postReaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ module.exports.run = async (message) => {
let checkedText = 'ID checked';

const date = await getDate(message.channel);
console.log(date.format('YYYY-MM-DD'));
if (date && date.isValid()) {
const age = moment().diff(date, 'years');
if (age <= 18) {
Expand Down

0 comments on commit b634ccc

Please sign in to comment.