Skip to content

Commit b3d74b3

Browse files
Update content/videos/discord/coding-a-bot/index.json
Co-authored-by: Supercrafter100 <[email protected]>
1 parent e96e386 commit b3d74b3

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,24 @@
77
"canContribute": false,
88
"languages": ["JavaScript", "Node.js", "discord.js"],
99
"topics": ["discord bots"],
10-
"timestamps": [],
10+
"timestamps": [
11+
{ "time": "0:00", "title": "Introduction" },
12+
{ "time": "3:39", "title": "Setting up the Node.js project" },
13+
{ "time": "5:50", "title": "Creating the Discord application" },
14+
{ "time": "6:24", "title": "Inviting your Discord bot" },
15+
{ "time": "10:11", "title": "Enabling developer mode on Discord" },
16+
{ "time": "10:33", "title": "Setting up the .env file" },
17+
{ "time": "12:47", "title": "Code! Getting the bot to log into Discord" },
18+
{ "time": "18:16", "title": "Creating a slash command" },
19+
{ "time": "24:00", "title": "Deploying the slash command" },
20+
{ "time": "25:53", "title": "Listening for the command interaction and executing the command" },
21+
{ "time": "30:08", "title": "How Discord bots communicate with Discord" },
22+
{ "time": "32:00", "title": "Discord.JS documentation" }
23+
],
24+
"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" }
27+
],
1128
"codeExamples": [
1229
{
1330
"title": "Coding a Discord Bot",

0 commit comments

Comments
 (0)