The bot that will come after you if you don't return what you borrow
BookieBot is a project to create an API and Slackbot to maintain the SITTV inventory.
This repository is merely an implementation of the Slackbot, most of it's core functionality is implemented as an API on the server.
- Keep the books i.e. keep track of who has borrowed what and when it's due
- Notification system to alert users when they never signed their equipment back in
- Answer queries about what is due when
- Maintain a registry of producers
List of commands for communicating with the BookieBot
List of all
Modifiers: group
Displays the following help message
current checkouts
help
info [<item>...]
status
update producers <new_producer> <production>
what does <user> owe?
what is due by <date>?
when is <item> due?
who has <item>?
who is producer of <production>?
Modifiers: after, before
> @bookie make group "news-std" "4k camera" "tripod"
New group created.
Alias: "news-std"
Items:
* 4k camera (barcode=...
* Tripod (barcode=...
> @bookie update producers "Eric Londres" "The Egress"
Eric Londres is now the producer of The Egress.
Modifiers: group
> @bookie who is the producer of The Egress?
Eric Londres is the producer of The Ergess.
Arguments | Default |
---|---|
YYYY-MM-DD , MM-DD |
None |
Arguments | Default |
---|---|
YYYY-MM-DD , MM-DD |
None |
Arguments | Default |
---|---|
spreadsheet, None | None |
If this argument is set to spreadsheet, then the bot will reply with a url to a spreadsheet where the information can be found.
Arguments | Default |
---|---|
true, false, yes, no | true |
Whether to display individual items or groupings of checked out items
Arguments | Default |
---|---|
@<username> |
None |
- Uses a Redis server to retain a sorted-set of checkouts by due-date timestamp
For more information, contact [email protected]