Skip to content

applauncher-team/slack_bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing

pip install slack_bundle

Configuring

In config/config.yml just provide the slack token

slack:
   token: asdfjklasdhjkj

Using

Just inject the SlackClient and use it!

from slackclient import SlackClient
import inject

sc = inject.instance(SlackClient)
channel = "my-slack-channel"
body = "Hey all, I'm a bot!"
sc.api_call(
    method="chat.postMessage",
    channel=channel,
    text=body
)

About

Slack integration with applauncher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages