deal-engine / keybase-scala-bot

A small library for creating keybase bots using scala.

Home Page:https://keybasebots.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lainz Bot Library - A smol library for Slack/Keybase Scala bots

About

A library for building Keybase Bots using scala. And now also Keybase bots using the official java API SDK.

Build your own keybase/slack-bot in scala

To create a bot the user must create a Bot that has BotActions. A BotAction takes messages passed to the Bot and responds according to the Action. An Action is the command passed to the Bot (eg: !help, help would be the Action).

An example bot is available at example/src. And can be run via the following command

vi example/secrets.env # Follow example/README.md
./ci example # This will launch ExampleBot in docker

Security considerations

The authors are not responsible for any damage caused by a the use of this project. Use only under your own risk.

Please read the LICENSE file on this repo.

TODO

  • More documentation. Sorry :c
  • Scala 3

Useful links:

About

A small library for creating keybase bots using scala.

https://keybasebots.com/

License:Apache License 2.0


Languages

Language:Scala 93.6%Language:Shell 4.2%Language:Nix 2.2%