In this lesson, you’ll use Bot, which is a subclass of Client that adds a little bit of extra functionality that is useful when you’re creating bot users. For example, a Bot can handle events and commands, invoke validation checks, and more. Before you can get into the features specific to Bot, you’ll convert bot.py to use a Bot instead of a Client.
You’ll also work with a new component, the Command. In general terms, a command is an order that a user gives to a bot so that it will do something. As you work with them, you’ll see how commands are different from events.
