Skip to content

About

This bot can receive direst RTM messages from slack, send it to http server and send reply to to slack user

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

go-rtm2http-slackbot

Build Status download binaries

This bot can receive direst RTM messages from slack, send it to http server and send reply to to slack user. It can translate slack user messages to 1C (example http://infostart.ru/public/581824/).

Bot sends GET-queries to server url with params: user, message and email.

Set settings in config.json (you can use config.sample.json as example):

"SlackToken": "xoxb-xxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx"

"HttpPath": "http://127.0.0.1/slackbot/"

You can take token at https://my.slack.com/services/new/bot

Bot can use basic http auth of http-server

"BasicUser": "slackbot" // "" if no auth

"BasicPassword": "slackbot"

Uses slack access package "github.com/nlopes/slack"

About

This bot can receive direst RTM messages from slack, send it to http server and send reply to to slack user

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages