
Discord Bots 3: Coding a Bot with discord.js
The Coding Train, 19 min, 136.5K views, Nov 9, 2020
Chapters
Show descriptionHide 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