oohira / mattermost-sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mattermost-sandbox

How to run Incoming Webhook

  1. Start Mattermost server
    $ make serve
    
  2. Open http://localhost:8065/
  3. Add Incoming Webhook manually
  4. Change Integration Management setting via System Console
    Enable integrations to override usernames: true
    Enable integrations to override profile picture icons: true
    
  5. Modify Incoming Webhook URL
    $ vi incoming/main.go
    ...
    const (
        WEBHOOK_URL = "http://localhost:8065/hooks/ftcxcu4aypfutqby89yhpe7kze"
    )
    ...
  6. Run bot program
    $ go run incoming/main.go
    

About

License:MIT License


Languages

Language:Go 96.2%Language:Makefile 3.8%