{"action":"created","issue":{"url":"https://api.github.com/repos/welovekpop/SekshiBot/issues/1","labels_url":"https://api.github.com/repos/welovekpop/SekshiBot/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/welovekpop/SekshiBot/issues/1/comments","events_url":"https://api.github.com/repos/welovekpop/SekshiBot/issues/1/events","html_url":"https://github.com/welovekpop/SekshiBot/issues/1","id":57982303,"number":1,"title":"Config","user":{"login":"PlugLynn","id":10000391,"avatar_url":"https://avatars.githubusercontent.com/u/10000391?v=3","gravatar_id":"","url":"https://api.github.com/users/PlugLynn","html_url":"https://github.com/PlugLynn","followers_url":"https://api.github.com/users/PlugLynn/followers","following_url":"https://api.github.com/users/PlugLynn/following{/other_user}","gists_url":"https://api.github.com/users/PlugLynn/gists{/gist_id}","starred_url":"https://api.github.com/users/PlugLynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlugLynn/subscriptions","organizations_url":"https://api.github.com/users/PlugLynn/orgs","repos_url":"https://api.github.com/users/PlugLynn/repos","events_url":"https://api.github.com/users/PlugLynn/events{/privacy}","received_events_url":"https://api.github.com/users/PlugLynn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-17T21:09:02Z","updated_at":"2015-02-23T18:18:11Z","closed_at":null,"body":"We need a flexible config thing (mostly for modules) that can persist across restarts and also change on the fly, to avoid lots of separate config commands on modules. Some namespacing would be nice.\r\n\r\n`SekshiBot-old` uses [`nconf`](https://npmjs.org/package/nconf) which I'm not familiar with but it might be good. I don't know."},"comment":{"url":"https://api.github.com/repos/welovekpop/SekshiBot/issues/comments/75599288","html_url":"https://github.com/welovekpop/SekshiBot/issues/1#issuecomment-75599288","issue_url":"https://api.github.com/repos/welovekpop/SekshiBot/issues/1","id":75599288,"user":{"login":"schrobby","id":4340305,"avatar_url":"https://avatars.githubusercontent.com/u/4340305?v=3","gravatar_id":"","url":"https://api.github.com/users/schrobby","html_url":"https://github.com/schrobby","followers_url":"https://api.github.com/users/schrobby/followers","following_url":"https://api.github.com/users/schrobby/following{/other_user}","gists_url":"https://api.github.com/users/schrobby/gists{/gist_id}","starred_url":"https://api.github.com/users/schrobby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schrobby/subscriptions","organizations_url":"https://api.github.com/users/schrobby/orgs","repos_url":"https://api.github.com/users/schrobby/repos","events_url":"https://api.github.com/users/schrobby/events{/privacy}","received_events_url":"https://api.github.com/users/schrobby/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T18:18:11Z","updated_at":"2015-02-23T18:18:11Z","body":"As you already mentioned ```SekshiBot-old``` used ```nconf``` in combination with a [```configwrapper```](https://github.com/welovekpop/SekshiBot-old/blob/master/configwrapper.js) that would separate the configuration options of each module in a designated namespace and therefore prevent any interference between modules. \r\n\r\nWhile certainly neat, this method caused the configuration file to become bloated quickly as more modules were added to the bot. I suggest (and so did Dennis too, at the time) to use ```config.json``` for static options such as the plug room, the database URI, perhaps the bot's default username and store module-specific options in the database."}}