Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gkawamoto/mattermost-echo-bot
https://github.com/gkawamoto/mattermost-echo-bot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gkawamoto/mattermost-echo-bot
- Owner: gkawamoto
- Created: 2019-06-21T15:17:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-21T15:41:19.000Z (over 5 years ago)
- Last Synced: 2023-03-03T03:31:44.624Z (almost 2 years ago)
- Language: Go
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mattermost-echo-bot
## Overview
The most simple way to build a bot for [Mattermost](https://www.mattermost.org) (based on [Mattermost Bot Sample](https://github.com/mattermost/mattermost-bot-sample-golang)).## Dependencies
* Go 1.12
* Mattermost 5.12## How to run
* `go list -m all`
* Create a bot account (new feature for Mattermost 5.12)
* Fill in the constants in the beginning of the `main.go`
* `MATTERMOST_API_REST` for the [REST API](https://api.mattermost.com)
* `MATTERMOST_API_WS` for the [WebSocket API](https://api.mattermost.com/#tag/WebSocket)
* `MATTERMOST_BOT_TOKEN` for the Access Token created in the bot account.
* `go run main.go`
* ???
* Profit!