Skip to content

A Julia REPL that interacts with Slack.com's webhook integration

License

Notifications You must be signed in to change notification settings

carnaval/Slackbot.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slackbot.jl

A Julia REPL that interacts with Slack.com's webhook integration

How to use

  1. Set up a Slack Incoming WebHook and a Slack Outgoing WebHook.

  2. Create a config.jl in this directory that contains the following entries:

  • TOKEN = "..." #Replace this with your Slack token for your outgoing webhook
  • INHOOK = "https://hooks.slack.com/services/..." #Replace this with your Webhook URL for your incoming webhook
  • (Optional) DEBUG = true #Print debugging information to console
  • (Optional) DEFAULTPAYLOAD = Dict( #Add custom JSON entries to the returning payload to the incoming webhook "username"=>"juliatan", "icon_emoji"=>":juliatan:" )
  1. Make sure that Morsel.jl is installed in Julia.

  2. Run the script/jl.sh

About

A Julia REPL that interacts with Slack.com's webhook integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 92.8%
  • Shell 7.2%