Slack Connector for Factor.io
The connector-slack ruby gem is used to run actions in Slack. It was built with the factor.io connector-api An action can be posting a message, uploading a file or inviting another user to the channel.
To use the actions defined well need to generate a Token. Currently we also need to find the channel id, just press go and you'll receive a response containing your channel ids.
listen 'timer::every', minutes:1 do |post_info|
run 'slack_channel::send', :token => 'token', :channel => 'channel id', :text => 'testing'
end
To run tests locally we need to clone the repo, set the env variables that are referred to at top of the spec files. Then, we run rake in our terminal.
Want to contribute? https://github.com/factor-io/factor/wiki/Contribution