/pillar-bot

A Mattermost(mattermost.com)Open source, private cloud Slack-alternative Bot to manage Pillar Project Community https://community.pillarproject.io

Primary LanguageGoApache License 2.0Apache-2.0

Mattermost Bot

Overview

The Bot use the Mattermost Go driver to interact with a Mattermost hosted server, listen to events and respond to messages. Documentation for the Go driver can be found here.

Highlights of APIs used in this sample:

  • Log in to the Mattermost server
  • Create a channel
  • Modify user attributes
  • Connect and listen to WebSocket events for real-time responses to messages
  • Post a message to a channel

Using getting started code from sample-go-bot

1 - Install or upgrade to Mattermost server version 3.10+, and verify that the Mattermost server is running on http://localhost:8065.