Building a Discord Bot w/ discord. js, Typescript and Heroku

所在平台: Udemy

课程主页: https://www.udemy.com/course/building-a-discord-bot-w-discordjs-typescript-and-heroku/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:** 使用 discord.js、TypeScript 和 Heroku 构建 Discord 机器人 **课程概述:** 本课程将教您如何使用 discord.js 和推荐的包 @discordjs/builders 来编写一个生产级别的 Discord 机器人。@discordjs/builders 采用了“建造者”设计模式,简化了类的对象构建。课程将尽快部署机器人到 Heroku,并实现持续部署 (CD),将 Heroku 连接到 GitHub 仓库。 与许多不注重结构就部署到 Replit 的教程不同,本课程会教授您作为软件开发者的通用最佳实践,例如为开发和生产环境创建不同的机器人,就像构建 Web 应用一样。 **课程内容亮点:** * TypeScript * 回复消息 * 创建斜杠命令 (Slash Commands) * 创建按钮和链接 * 创建消息收集器 (Message Collectors) * 创建嵌入消息 (Embeds) * 创建反应收集器 (Reactions Collectors) * 创建子命令 (Subcommands) * 获取用户信息及其角色信息 * 为命令添加选项 * 添加简单的测试 * 部署到 Heroku 并连接 GitHub 实现持续部署 * 最佳实践等

课程评论(0条)

课程详情

Welcome to this course! In this course you will learn how to code a production-ready bot with discord.js and the recommended package to build slash commands, which is the @discordjs/builders. The latter implements a design pattern called the "builder" pattern, which makes it easier to build objects of classes. We will also not waste time and deploy our bot to Heroku as soon as we can. This is always one of the first steps you wanna do and we'll do it with CD (continuous deployment) by connecting Heroku to our GitHub repo. Many tutorials out there show you how to code bots without a structure and deploy it to… Replit? In this course that's not the case! We'll learn many things that will help you be a better software developer in general. You'll not only learn to code a bot, you'll learn best practices like creating a bot for development and another one for production. We'll do it just as if we were going to build a web app!TypescriptReply to messagesCreate slash commandsCreate buttons and linksCreate message collectorsCreate embedsCreate reactions collectorsCreate subcommandsGet information about a user and its rolesAdd options to commandsAdd simple testsDeploy to Heroku and connect it to GitHub for CDBEST PRACTICESEtc...

课程标签

0人关注该课程

主题相关的课程