
Discord Bots 3: Coding a Bot with discord.js
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