Course lesson

Create your first Discord.js Bot Message Command

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

Duration
2 min
Access
Included
Transcript
Retained from source evidence

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.