This is a demo implementation of SlackProfessor (and by extension, Pokerap)
Since this is just a demo, I went ahead and filled in all of the config variables you can use
for the respective dependencies. See them in /config/confix.exs
. You'll notice config :prof_demo, tokens:
is set to read from System vars. Details below on how that needs to be setup.
Enjoy!
- clone this repo
- set
SLACKBOT_TOKENS
ENV variable (export SLACKBOT_TOKENS="token1, token2, tokenX"
), using a comma to separate the tokens. Spaces get stripped so doesn't matter one way or the other. - Run
mix run -no-halt
, oriex -S mix
if you want to play along