Skip to content

Plugin to turn your Suneidesis Chatbot into a Slack Bot

License

Notifications You must be signed in to change notification settings

Harium/sunbot-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sunbot-slack

Plugin to turn your Suneidesis Chatbot into a Slack Bot

Maven Central

How to setup your Slack App

  • Enable Socket Mode
  • Add Event Subscriptions: message.channels and message.im
  • Add Oauth Permissions: chat:write and im:read

Get both Bot and App tokens

How to use it

    Parser bot = new EchoBox(); // Use your own parser

    String botToken = "xoxb-123456-MY_TOKEN";
    String appToken = "xapp-654321-MY_TOKEN";

    Slack slack = new Slack(botToken, appToken);
    slack.init();
    slack.addParser(bot);

About

Plugin to turn your Suneidesis Chatbot into a Slack Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages