Ever wanted to make a volafile bot, but python isn't your thing and Dongo's
elixir is for plebs?
volapi to the rescue!
You know the drill:
yarn add volapiYou got a Room and it emits Messages and Files and other stuff!
See sample_client.js
v2.0
Room.connect()will now actually wait for the room to be really ready, and will throw in the even an error with the subscription occurs (such as the429rate-limit message. Previously.connect()would only fail in the event of a network or http(s) error.- Related: the
openevent will now fire once the websocket is established, not when the ws protocol is done subscribing. - Related: new
connectedevent, that happens when the connection is truly open and ready. May occur after other events (such as initial file events) - The
upload_timeoutevent was renamed toupload_blocked. - New
Room.report()method. Room.janitorproperty, indicating your own janitornessRoom.setConfigwas renamed toRoom.updateConfig. Never was a public API.- New
Room.setConfigmethod. - New
Room.transferOwnermethod. - New
Room.addJanitor/Room.removeJanitormethods.