Manage shared equipment via a slack bot. Useful for a lab or anywhere a pool of shared equipment is used and you need to track down whether someone is currently using it (and who that person is).
config.json and add your Slack API token, and the name of the channel you
want the bot to operate in (this must already be created). Then:
You'll need to manually invite the bot to the channel.
Using the bot
Use varations of:
helpto get some help
using <name>to see who is using
checkout <name>to checkout equipment called
<name>and start using it
release <name>to release
<name>from whoever is using it
create <name>to create a piece of equipment called
delete <name>to delete
<name>from the list
listto list all equipment
set_note <name> <note>to apply the for equipment
show_note <name>to show the note for equipment
clear_note <name>to clear the note for equipment
list_notesto list all notes for all equipment
add_my_number <phone_number>to add a phone number for the user
clear_my_number <name>to clear the phone numbers for the user
list_numbersto list all recorded user phone numbers
Equipment entries are stored persistently in equipment.json. Phone entries are stored persistently in phone_numbers.json.