skip to Main Content

Mongodb – I need to apply a 24hour cooldown after use, and add to the token balance on a correct answer (discord.js v13)

Here is the challenge bot slash command: const { SlashCommandBuilder } = require('@discordjs/builders'); const { MessageEmbed, MessageAttachment, Role } = require('discord.js'); const { $where } = require('../../schemas/balance'); const Challenge = require('../../schemas/challenge'); const challenges = require('./challenges.json'); module.exports = { data: new…

VIEW QUESTION
Back To Top
Search