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

ASP.net multiple select always returns 0 selected items

So i'm trying to build a User multi-select in order to get the participants to a project. This is my code: <form asp-page-handler="ProjectModalPartial"> @*numele metodei*@ <input name="IsValid" type="hidden" value="@ViewData.ModelState.IsValid.ToString()" /> <div class="form-group"> <label asp-for="ProjectsModel.ProjectName">Title</label> <input asp-for="ProjectsModel.ProjectName" class="form-control" placeholder="MyProject1" /> <span…

VIEW QUESTION
Back To Top
Search