Create your first Discord.js Bot Message Command

Share this video with your friends

Send Tweet

Using the Discord.js library, we're going to send our first message command!

Let's create a classic "hello world" message command and learn how to create a new client instance, enable the necessary gateway intents, listen for specific events, and respond to those events by accessing a "message object" and then sending a message back.