rikukissa / domo

Domo the incredible irc-bot
http://rikukissa.github.io/domo/
84 stars 5 forks source link

Feature to store domo's state to database #8

Closed rikukissa closed 10 years ago

rikukissa commented 10 years ago

Would be useful to store loaded modules, channels etc to a database (MongoDB?) every time domo's state changes. This way domo could restore the state when it's restarted.

It should be registered with domo.use() so it would be initialized like

domo.use(domo.store({
  database: 'myDomoDatabase'
}));