Now that you've installed Node.js and know how to open your console and run commands, you can finally install discord.js! - Source: dev.to / 23 days ago
We're beyond excited to unveil RoboPlay! It's not just another hosting service; it's a next-gen platform tailored for Discord.js bots, especially those powered by the Robo.js framework. - Source: dev.to / 2 months ago
Context: Robo.js is a framework designed for creating Discord.js bots with ease and best practices by default. Plugins extend your bot's features right away! - Source: dev.to / 5 months ago
Note the video is 2 years old. Discord.JS is constantly changing alongside the Discord API. This is why you should follow official and up to date guides and not just copy paste off of youtube: https://discord.js.org/. Source: 10 months ago
Well, I recommend you JavaScript, it is good for beginners and there's a lot of content on internet. Once you understand and practice the basics, you can use discord.js to write your bots. They have a guide website if you are interested. Source: 11 months ago
You can (with some effort) create your own bot using a library like Discord.js to use webhooks easier. Source: about 1 year ago
I want to dive into discord bot things but I was confused when I saw 2 sites of discordjs. There is https://discord.js.org/ and https://old.discordjs.dev/#/. Is the old one is no more supported? Which one to use? I couldn't understand the difference between them. Source: about 1 year ago
I would honestly suggest just using javascript. As someone who used both a lot I can tell you that they are not very different in terms of how hard they are. Js migh look more complicated with all the { } but you will relize that it is even more readable that way. There are also a lot more resources to learn discord bot development with node.js than with python. Js also has a great library for discord called... Source: over 1 year ago
Best you can do is use .reference https://discord.js.org/#/docs/discord.js/14.6.0/class/Message?scrollTo=reference and work with that. Source: over 1 year ago
First of all, make sure you know the basics of your chosen programming language. If you do not have one in mind, I recommend looking at Javascript for the following reasons: - Javascript is easy to learn for beginners - There is a great library available for discord bots: https://discord.js.org/ - There is a LOT of help available for both JS and Discord.JS. Source: over 1 year ago
Anyways given the basic example below If the user selects Foo for option_one I would like it so they can only pick up to Two for option_two, and then if Bar is selected I would allow up to Four. Module.exports = { data: new SlashCommandBuilder() .setName('name') .setDescription('desc') .addStringOption(option => option.setName('option_one') ... Source: over 1 year ago
We don't need to reinvent the wheel as there is already a great Node wrapper for the Discord bot API called discord.js. Normally we would install this third-party library through npm, but because we're using Replit, we can skip the installation. Our repl will automatically pull in all dependencies. - Source: dev.to / over 1 year ago
I assume you have coding knowledge if you've been using the widget API. You could easily make one yourself with something like (discord.js)[https://discord.js.org] (or whatever your preferred language is). Just make sure you enable the Member Presence intent and listen for presenceUpdate events. Source: over 1 year ago
No issue so far. It covers most of what Discord has and the documentation is perfect. Https://discord.js.org/. Source: over 1 year ago
Discord.js is a package that allows you to interact with Discord API. It is useful when you want to create a bot that interacts with Discord API. You can read more about it here. - Source: dev.to / almost 2 years ago
Like the other two said. These two links will help you with Discord.JS Https://discord.js.org/ Https://discordjs.guide/. Source: almost 2 years ago
I've created a really simple adapter in Node.js that listens for messages on Discord, interacts with JAICP via Chat API and then replies back to Discord. It makes use of an excellent Discord.js library and also axios for http requests. - Source: dev.to / about 2 years ago
If (message.content.startsWith(`${prefix}name`)){ message.reply(`Your name is ${message.author.username}`); // sends reply in channel to author return; } else if (message.content.startsWith(`${prefix}greeting`)){ message.channel.send("Hello world!"); // sends general message to channel return; } else if (message.content.startsWith(`${prefix}secret`)){ message.author.send("Shhh! This is a secret... - Source: dev.to / over 2 years ago
Discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend. - Source: dev.to / over 2 years ago
Please check discord.js.org for that kind of questions. If there are still things you don't understand (Like here, possibly the Promise<> object), check MDN, which is an amazing doc for js. Source: over 2 years ago
Discord.js is a relatively easy way to get started with javascript/node.js discord bots. Source: over 2 years ago
Do you know an article comparing Discord.js to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Discord.js. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.