gdoenlen / rovert

a simple slack bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rovert is a simple slack bot that will react to your favorite user with an emoji!

Developing

Just run ./mvnw compile quarkus:dev and you'll be good to go!

Production

First you'll need to set a few environment variables to get running:

  • SLACK_API_TOKEN (the token to send with slack web api requests)
  • SLACK_SIGNING_SECRET (the secret key you get when registering your bot, this will be used to authenticate requests and make sure they're from slack)
  • ROVERT_MESSAGES_USER (the user you want to react to)

Setup SSL:

  • QUARKUS_HTTP_SSL_CERTIFICATE_FILE = /path/to/certificate
  • QUARKUS_HTTP_SSL_CERTIFICATE_KEY = /path/to/key

or provide a keystore:

  • QUARKUS_HTTP_SSL_CERTIFICATE_KEY_STORE_FILE = /path/to/key/store/file
  • QUARKUS_HTTP_SSL_CERTIFICATE_KEY_STORE_FILE_TYPE = [one of JKS, JCEKS, P12, PKCS12, PFX]
  • QUARKUS_HTTP_SSL_CERTIFICATE_KEY_STORE_PASSWORD = password

Now you can just run the jar or executable!

About

a simple slack bot


Languages

Language:Java 100.0%