Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

discordjs

  1. Visionarily

    JavaScript How to get bot to reply to an empty message field? Discord.js

    Hello, I am working on a code for a Discord bot for my server, and I'm currently stumped on a magic 8 ball feature, go figure. I'm trying to get it to check if there is a message after the 8 ball command, and if not, send a message to the same channel telling the user to supply it a message to...
  2. Elektrodemon

    Node.JS Check if user has a data for Economy Bot discord.js

    Heyo, I'm coding on an Economy-System right now but I have a problem. I have to check if the user has data and if he doesn't have data create it. Here is what I've done: if (UserJSON.user[message.author.id]) { //It doesn't detect the message.author.id console.log("User Data already...
  3. Elektrodemon

    Node.JS Check if user has a data for Economy Bot discord.js

    Heyo, I'm coding on an Economy-System right now but I have a problem. I have to check if the user has data and if he doesn't have data create it. Here is what I've done: if (UserJSON.user[message.author.id]) { //It doesn't detect the message.author.id console.log("User Data already...
  4. TechPro424

    Node.JS My `warn delete` subcommand is not working as expected, please help me out

    I'm trying to delete a warn by using its `_id` property, but it is unable to find the warn, but when I console.log all the warns, it is there. Why am I unable to find the warn? My warn.js command const schema = require('../../models/welcome.js') const { MessageEmbed } = require("discord.js")...
Back
Top Bottom