Tutorial: Announce Bot
📄️ 1. Overview
In this tutorial, you'll build a Bot that listens for a specific command in a Root community and responds by broadcasting the message to all text channels.
📄️ 2. Setup
You can develop for the Root Platform on Windows or macOS. You'll need to do a few Root setup tasks before starting to write code. Skip any steps that you've completed previously.
📄️ 3. Generate starter code
Root supplies a command-line utility named create-root that generates starter code. Here, you'll create your project, build it, and test that it works with your community.
📄️ 4. Add member nickname
In this section, the main goal is to include the member's nickname in your Bot's response. But first, you'll change the command your Bot looks for.
📄️ 5. Send to all channels
Currently, your Bot sends its response only to the same channel as the incoming message. The goal here is to extend this so it sends to all text channels in the community to which your Bot has access.