Uploaded July 2020 | Updated September 2026, 2 hours ago
In this coding tutorial, we cover the basics of Discord.js for creating Discord bots with JavaScript. We start with a simple Bot that responds to text triggers, then we implement the bot's ability to listen for Reactions. You need node.js v12.0.0 or newer to use Discord.js! Check your version by running `node -v` in a terminal.
Do you have a neat idea for a Discord Bot? Let me know in the comments!
Watch this other video for help installing Discord.JS:
youtu.be/Zqt7tYIpfMs
💬 Join our Discord community of people making video games:
discord.gg/umD2GRy
⭐️ Get early access to my full JS Game Dev course:
drew-conley-courses.kit.com/66eb6d3ff4
*** Timestamps ***
0:00:00 - Intro
0:00:24 - Create Discord Bot
0:02:01 - Bot Permissions
0:02:22 - Invite Bot to Server
0:03:15 - Bot Roles
0:03:36 - Testing Channel
0:04:05 - Install Discord.JS
0:05:03 - Login with Token
0:06:00 - Token in own file
0:06:40 - Client "ready" event
0:07:12 - Bot reacts to message
0:08:39 - The reply() method
0:09:00 - Clippy documentation bot
0:09:59 - Posting links in message text
0:10:30 - Intro to Scrims / Team Generator
0:11:06 - Scrim class
0:12:31 - Reply vs Channel Message
0:13:30 - New scrim on user input
0:14:48 - Promise.then() from reply()
0:16:00 - Bot listens to reactions
0:17:16 - Add user to scrim on reaction
0:18:24 - Detect full scrim
0:19:01 - Random teams on full scrim
0:21:00 - Tagging users
0:23:00 - Edit existing messages
0:24:00 - See code for more
0:24:17 - Host node.js code
0:24:36 - Thanks + Subscribe!
*** Links ***
Discord documentation:
discord.js.org
Twitter:
twitter.com/drewconley13
Code from this video (with some extra features)
gist.github.com/drewconley/f0d9226dd2b0611cdcff0d7c26edf0f0
In this coding tutorial, we cover the basics of Discord.js for creating Discord bots with JavaScript. We start with a simple Bot that responds to text triggers, then we implement the bot's ability to listen for Reactions. You need node.js v12.0.0 or newer to use Discord.js! Check your version by running `node -v` in a terminal.
Do you have a neat idea for a Discord Bot? Let me know in the comments!
Watch this other video for help installing Discord.JS:
youtu.be/Zqt7tYIpfMs
💬 Join our Discord community of people making video games:
discord.gg/umD2GRy
⭐️ Get early access to my full JS Game Dev course:
drew-conley-courses.kit.com/66eb6d3ff4
*** Timestamps ***
0:00:00 - Intro
0:00:24 - Create Discord Bot
0:02:01 - Bot Permissions
0:02:22 - Invite Bot to Server
0:03:15 - Bot Roles
0:03:36 - Testing Channel
0:04:05 - Install Discord.JS
0:05:03 - Login with Token
0:06:00 - Token in own file
0:06:40 - Client "ready" event
0:07:12 - Bot reacts to message
0:08:39 - The reply() method
0:09:00 - Clippy documentation bot
0:09:59 - Posting links in message text
0:10:30 - Intro to Scrims / Team Generator
0:11:06 - Scrim class
0:12:31 - Reply vs Channel Message
0:13:30 - New scrim on user input
0:14:48 - Promise.then() from reply()
0:16:00 - Bot listens to reactions
0:17:16 - Add user to scrim on reaction
0:18:24 - Detect full scrim
0:19:01 - Random teams on full scrim
0:21:00 - Tagging users
0:23:00 - Edit existing messages
0:24:00 - See code for more
0:24:17 - Host node.js code
0:24:36 - Thanks + Subscribe!
*** Links ***
Discord documentation:
discord.js.org
Twitter:
twitter.com/drewconley13
Code from this video (with some extra features)
gist.github.com/drewconley/f0d9226dd2b0611cdcff0d7c26edf0f0






![Build a Game with JavaScript and HTML Canvas [RPG Kit series]
Lets build a simple Top-Down game system in HTML Canvas and JavaScript!
00:00:00 Intro
00:01:23 Vite setup (optional)
00:02:42 Drawing to a Canvas
00:15:50 Sprite Class
00:35:49 Game Loop
00:44:42 Keyboard Input
00:52:05 Grid Movement
01:03:16 Walls
01:07:50 Animation Tracks
01:28:28 Game Objects
01:45:39 Event System
01:54:36 Hero Camera
02:00:00 Item Pickups
02:19:41 HUD Inventory
02:30:00 Ready method for Game Objects
02:33:57 Thank You!
PART 2 continues here:
https://youtu.be/yTFIciZKG0M
⭐️ Get early access to my full JS Game Dev course:
https://drew-conley-courses.kit.com/66eb6d3ff4
💬 Discord
Need help, have a question, or want to share your game dev project?
Join our Discord. Heres the link: https://discord.gg/umD2GRy
📁 Sprites & Code Starting download:
https://drive.google.com/file/d/1BLEVGyI5AmMtgz9SG2bI0J3zYi3QjyFh/view?usp=drive_link
📁 Code Ending Download:
https://drive.google.com/file/d/1Lqkuc92ydqC6WIYAgq4YTU4K27w-1JIv/view?usp=sharing
Twitter / X:
https://twitter.com/drewconley13
Be my friend on LinkedIn:
https://www.linkedin.com/in/drew-conley-a7865a29
New to using `npm`? Check out this article:
https://docs.npmjs.com/downloading-and-installing-node-js-and-npm Build a Game with JavaScript and HTML Canvas [RPG Kit series]](https://i.ytimg.com/vi/HmxNrlPx8iY/mqdefault.jpg)



