Skip to content

Commit 61bea8f

Browse files
authored
nebula slug
1 parent f8cdb9f commit 61bea8f

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

content/videos/discord/coding-a-bot/index.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"title": "Coding a Discord Bot",
33
"description": "Learn to create a Discord bot using Discord.js in Node.js. This video walks through setting up a node project, creating a Discord application, and writing code for authentication, slash commands, and bot interaction.",
44
"videoId": "AvQcTjB3gPg",
5-
"nebulaSlug": "",
6-
"date": "2023-11-11",
5+
"nebulaSlug": "codingtrain-how-to-make-a-discord-bot-in-javascript",
6+
"date": "2023-11-13",
77
"canContribute": false,
88
"languages": ["JavaScript", "Node.js", "discord.js"],
99
"topics": ["discord bots"],
@@ -17,13 +17,22 @@
1717
{ "time": "12:47", "title": "Code! Getting the bot to log into Discord" },
1818
{ "time": "18:16", "title": "Creating a slash command" },
1919
{ "time": "24:00", "title": "Deploying the slash command" },
20-
{ "time": "25:53", "title": "Listening for the command interaction and executing the command" },
20+
{
21+
"time": "25:53",
22+
"title": "Listening for the command interaction and executing the command"
23+
},
2124
{ "time": "30:08", "title": "How Discord bots communicate with Discord" },
2225
{ "time": "32:00", "title": "Discord.JS documentation" }
2326
],
2427
"corrections": [
25-
{ "time": "15:45", "title": "Intents describe what events your bot will receive and what it has access to. The guilds intent is required so discord.js can internally populate it's cache to limit it's API calls to Discord." },
26-
{ "time": "23:49", "title": "Using ./ means the import will be relative to the file that the import is made in. Without it the import would be absolute meaning it would be from the root of your Node.JS project" }
28+
{
29+
"time": "15:45",
30+
"title": "Intents describe what events your bot will receive and what it has access to. The guilds intent is required so discord.js can internally populate it's cache to limit it's API calls to Discord."
31+
},
32+
{
33+
"time": "23:49",
34+
"title": "Using ./ means the import will be relative to the file that the import is made in. Without it the import would be absolute meaning it would be from the root of your Node.JS project"
35+
}
2736
],
2837
"codeExamples": [
2938
{

0 commit comments

Comments
 (0)