{"action":"closed","issue":{"url":"https://api.github.com/repos/dabbers/DeBot.js/issues/4","labels_url":"https://api.github.com/repos/dabbers/DeBot.js/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/dabbers/DeBot.js/issues/4/comments","events_url":"https://api.github.com/repos/dabbers/DeBot.js/issues/4/events","html_url":"https://github.com/dabbers/DeBot.js/issues/4","id":91529622,"number":4,"title":"Some kind of string triggered an unknown command","user":{"login":"dabbers","id":480822,"avatar_url":"https://avatars.githubusercontent.com/u/480822?v=3","gravatar_id":"","url":"https://api.github.com/users/dabbers","html_url":"https://github.com/dabbers","followers_url":"https://api.github.com/users/dabbers/followers","following_url":"https://api.github.com/users/dabbers/following{/other_user}","gists_url":"https://api.github.com/users/dabbers/gists{/gist_id}","starred_url":"https://api.github.com/users/dabbers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dabbers/subscriptions","organizations_url":"https://api.github.com/users/dabbers/orgs","repos_url":"https://api.github.com/users/dabbers/repos","events_url":"https://api.github.com/users/dabbers/events{/privacy}","received_events_url":"https://api.github.com/users/dabbers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-27T23:42:44Z","updated_at":"2015-07-14T04:26:12Z","closed_at":"2015-07-14T04:26:12Z","body":"Sample chat that killed the bot:\r\n[15:02:49] <+afschuld> This is the guilty code\r\n[15:02:49] <+afschuld> if (eDataType == eSDT_REST_XML)\r\n[15:02:50] <+afschuld>             {\r\n[15:02:50] <+afschuld>                 CRestRequest RequestREST(session, vecStrURL_REST[0]);\r\n[15:02:50] <+afschuld>             }\r\n[15:02:50] <+afschuld>             else if (eDataType == eSDT_REST_BOND)\r\n[15:02:51] <+afschuld>             {\r\n[15:02:53] <+afschuld>                 CRestRequest RequestREST(session, vecStrURL_BOND[0]);\r\n[15:02:55] <+afschuld>             }\r\n[15:04:07] <+afschuld> I guess the easiest solution is just to set a string variable to either vecStrURL_REST[0] or  vecStrURL_BOND[0] but I know there is another way to do this\r\n[15:04:08] <+dab> different constructor like a different declaration?\r\n[15:04:26] <+afschuld> constructor with different arguements actually\r\n[15:04:27] * DaBot (thebotiden@GG-C388BCB.hsd1.wa.comcast.net) Quit (Connection reset by peer)\r\n\r\nError message from window:\r\n\r\n |=>  'PONG :navi.gamergalaxy.net'\r\nfce 1\r\n\r\nC:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\core\\Commandable.js:65\r\n                for(var i = 0; i < command.options.exceptions.channels.length; i++) {\r\n                                                  ^\r\nTypeError: Cannot read property 'exceptions' of undefined\r\n    at Bot.Commandable.functionCanExecute (C:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\core\\Commandable.js:65:37)\r\n    at Bot.<anonymous> (C:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\core\\Commandable.js:118:35)\r\n    at Bot.emit (events.js:117:20)\r\n    at Object.parse (C:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\node_modules\\dabbit.base\\Parser.js:156:25)\r\n    at Network.rawMessageReceived (C:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\core\\Network.js:176:16)\r\n    at DeBotConnection.RawMessageReceived (C:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\core\\Network.js:161:18)\r\n    at Connection.onRead (C:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\node_modules\\dabbit.base\\Connection.js:142:14)\r\n    at CleartextStream.NodeSocket.onData (C:\\Users\\me_000\\Documents\\Projects\\DeBot.js\\src\\core\\NodeSocket.js:66:13)\r\n    at CleartextStream.emit (events.js:95:17)\r\n    at CleartextStream.<anonymous> (_stream_readable.js:764:14)\r\n    at CleartextStream.emit (events.js:92:17)\r\n\r\n\r\nConfig for bot:\r\n    \"BotGroups\": {\r\n        \"dbot\": {\r\n            \"Networks\": [\r\n                {\r\n                    \"Network\": \"ggxy\",\r\n                    \"Channels\": [\r\n                        \"#dab.beta\",\r\n                        \"#dab2\"\r\n                    ]\r\n                }\r\n            ],\r\n            \"Bots\": {\r\n                \"DaBot\": {\r\n                    \"Nick\": \"DaBot\",\r\n                    \"Ident\": \"thebotidentity\",\r\n                    \"Channels\": {\r\n                        \"ggxy\": [\r\n                            \"#marblecake\"\r\n                        ]\r\n                    },\r\n                    \"Modules\": [\r\n                        \"iHate\"\r\n                    ]\r\n                },\r\n                \"DiBot\": {\r\n                    \"Ident\": \"dbt\",\r\n                    \"Channels\": {\r\n                        \"ggxy\": []\r\n                    },\r\n                    \"Modules\": [],\r\n                    \"Nick\": \"DiBot\"\r\n                }\r\n            },\r\n            \"Modules\": [\r\n                \"Commands\"\r\n            ],\r\n            \"CommandPrefix\": \"#\",\r\n            \"RawCommandPrefix\": \">>\"\r\n        }\r\n    },\r\n\r\n\r\nCommands json:\r\nEmpty?"}}