howdyai / botkit-storage-firebase

Firebase storage module for Botkit
http://howdy.ai/botkit
MIT License
34 stars 30 forks source link

more collections #5

Open CosmicAnalogue465 opened 8 years ago

CosmicAnalogue465 commented 8 years ago

Hi,

It seems we can only save teams, users and channels - How can we save more data ?

Thanks ! Vincent

mitrick2 commented 8 years ago

From the readme:

// then you can use the Botkit storage api, make sure you have an id property var beans = {id: 'cool', beans: ['pinto', 'garbanzo']}; controller.storage.teams.save(beans); beans = controller.storage.teams.get('cool');