Deepwatch

Keyboard shortcuts

Space or k
Play or pause
j and l
Back or forward 10 seconds
Left and right arrows
Back or forward 5 seconds
f
Fullscreen
m
Mute or unmute
Shift and < or >
Slower or faster
?
Show or hide this list

Discord Bots 3: Coding a Bot with discord.js

The Coding Train, 19 min, 136.5K views, Nov 9, 2020

Chapters

Show description

It's finally time to write some code! In this video, I demonstrate the very basics of coding a "hello world"-style bot with discord.js. šŸ’» Code: https://thecodingtrain.com/learning/bots/discord/03-discordjs.html šŸ’» Glitch: https://glitch.com/~choo-choo-bot-discord šŸ’» GitHub: https://github.com/CodingTrain/Discord-Bot-Choo-Choo šŸŽ„ Next: https://youtu.be/G2Yns7NUSq4 šŸŽ„ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6avBYxeBSwF48YhAnSn_sA4 Links discussed in this video: šŸ”— discord.js: https://discord.js.org/ šŸ”— Discord.js Guide: https://discordjs.guide/ šŸ”— DisStreamChat Bot: https://www.disstreamchat.com/ šŸ”— The Coding Train Discord: https://thecodingtrain.com/discord Other videos mentioned in this video: šŸŽ„ Server Side with Node.js: https://youtu.be/wxbQP1LMZsw šŸŽ„ Hiding API Keys (dotenv): https://youtu.be/17UVejOw3zA šŸŽ„ Building a Discord bot with Daniel Shiffman of the Coding Train: https://youtu.be/gzM7kj6gV5I 0:00 Introduction 1:36 Code! Creating a Node Application 3:44 Code! Adding discord.js: https://discord.js.org/ https://discordjs.guide/ 4:37 Code! Creating and Authenticating the Bot 8:08 Code! Replying to Messages 10:59 Code! Specifying a Channel 13:28 Code! Random replies 15:03 Other Bot Examples and Suggestions šŸš‚ Website: http://thecodingtrain.com/ šŸ‘¾ Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html 🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics šŸ’” GitHub: https://github.com/CodingTrain šŸ’¬ Discord: https://discord.gg/hPuGy2g šŸ’– Membership: http://youtube.com/thecodingtrain/join šŸ›’ Store: https://standard.tv/codingtrain šŸ“š Books: https://www.amazon.com/shop/thecodingtrain šŸ–‹ļø Twitter: https://twitter.com/thecodingtrain šŸ“ø Instagram: https://www.instagram.com/the.coding.train/ šŸŽ„ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH šŸŽ„ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA šŸ”— p5.js: https://p5js.org šŸ”— p5.js Web Editor: https://editor.p5js.org/ šŸ”— Processing: https://processing.org šŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

When you're done