opened
JiFish
username_0
It would be nice if the bot remembered the previously selected target and listen channels.

Either the ability to specify them in the config or writing them somewhere when they are set would solve this.
(Suggestion) Remember target and listen channels on restart
issue
created
aeolingamenfel
username_1
Should be fairly straightforward to have some sort of serialized data, I'll add this.
comment
closed
aeolingamenfel
username_1
issue
created
JiFish
username_0
This isn't working for me. I get the following once I try to use either command after `main.json` has been created.

```
fs.js:557
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: EEXIST: file already exists, open '/home/jifish/adventure-bot/utility/../storage/main.json'
    at Object.fs.openSync (fs.js:557:18)
    at Object.fs.writeFileSync (fs.js:1222:33)
    at StorageManager.write (/home/jifish/adventure-bot/utility/StorageManager.js:56:12)
    at StorageManager.set (/home/jifish/adventure-bot/utility/StorageManager.js:73:14)
    at MessageHandler.setTargetChannel (/home/jifish/adventure-bot/MessageHandler.js:195:33)
    at MessageHandler.onMessage (/home/jifish/adventure-bot/MessageHandler.js:80:18)
    at DiscordClient.<anonymous> (/home/jifish/adventure-bot/app.js:28:20)
    at emitMany (events.js:127:13)
    at DiscordClient.emit (events.js:201:7)
    at DiscordClient.handleWSMessage (/home/jifish/adventure-bot/node_modules/discord.io/lib/index.js:1734:11)
```
comment
reopened
aeolingamenfel
username_1
It would be nice if the bot remembered the previously selected target and listen channels.

Either the ability to specify them in the config or writing them somewhere when they are set would solve this.
(Suggestion) Remember target and listen channels on restart
issue
created
aeolingamenfel
username_1
Hm, alright.
comment
created
aeolingamenfel
username_1
@username_0 Just pushed a commit to master; see if it works for you.
comment
created
JiFish
username_0
Fix works perfectly. Thanks for the quick response.
comment
created
aeolingamenfel
username_1
No problem! Glad to hear it fixed it.
comment
closed
aeolingamenfel
username_1
issue