A couple of weeks back I published a Yeoman generator to build Tabs for Microsoft Teams. Since then I’ve continued to add stuff to it as the Teams team has continued to add features to their extensibility story. So, this generator is not only for creating Tabs, but now also for adding Bots and Custom Bots to Microsoft Teams. With that I decided to rename the generator to yo teams (generator name is generator-teams).

I’m very thankful to the over 600 downloads within less of a month, and all the positive feedback, the issues and PR created. Keep it coming.

What’s new?

The two big new features of the generator is the ability to add either a reference to an existing bot that you want to use (your own, or any bot in the Bot Framework directory) or to create a bot from scratch, using the Bot Framework. You can also add a custom bot, which is a Microsoft Teams specific webhook that acts like a bot, which can be used by specific Teams only and you don’t have to add it to the Bot Framework - perfect for those internal smart bots you want to build.

yo teams

The source code has also gone through some heavy refactoring with sub-generators and all. There’s more to come…

Both the Bot and Custom bot uses the JavaScript/TypeScript implementations of the Bot Framework and you have some boilerplate code to get started, including readme files of the essentials.

If you have any issues, or feedback, or problem or just feeling chatty, then use the Issues list on Github.

What do I need to do?

If you already used the old generator, uninstall it with npm uninstall generator-teams-tab –global and then install the new generator with npm install generator-teams –global. All your current solutions will work, but I recommend you to, if you feel like it, to “move” all your code over to a newly created project.

The old npm package is deprecated and you will get a warning if you try to install it.

The Github repository has been renamed, but the old one will still redirect you to the correct location. You can find it here: https://github.com/wictorwilen/generator-teams