Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
github.com/button/slack-adapter
Connecting joe with the Slack chat application. https://github.com/go-joe/joe
This repository contains a module for the Joe Bot library.
This library is packaged using the new Go modules. You can get it via:
go get github.com/go-joe/slack-adapter
In order to connect your bot to slack you can simply pass it as module when creating a new bot:
package main
import (
"github.com/go-joe/joe"
"github.com/go-joe/slack-adapter"
)
func main() {
b := joe.New("example-bot",
slack.Adapter(os.Getenv("SLACK_TOKEN")),
…
)
b.Respond("ping", Pong)
err := b.Run()
if err != nil {
b.Logger.Fatal(err.Error())
}
}
So far the adapter will emit the following events to the robot brain:
joe.ReceiveMessageEvent
joe.UserTypingEvent
The current implementation is rather minimal and there are many more features that could be implemented on the slack adapter so you are highly encouraged to contribute. If you want to hack on this repository, please read the short CONTRIBUTING.md guide first.
We use SemVer for versioning. For the versions available, see the [tags on this repository][tags.
See also the list of contributors who participated in this project.
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.