{"action":"closed","issue":{"url":"https://api.github.com/repos/daeks/twitchbot/issues/1","labels_url":"https://api.github.com/repos/daeks/twitchbot/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/daeks/twitchbot/issues/1/comments","events_url":"https://api.github.com/repos/daeks/twitchbot/issues/1/events","html_url":"https://github.com/daeks/twitchbot/issues/1","id":73693268,"number":1,"title":"Error On Initialization","user":{"login":"dinosaw","id":10761500,"avatar_url":"https://avatars.githubusercontent.com/u/10761500?v=3","gravatar_id":"","url":"https://api.github.com/users/dinosaw","html_url":"https://github.com/dinosaw","followers_url":"https://api.github.com/users/dinosaw/followers","following_url":"https://api.github.com/users/dinosaw/following{/other_user}","gists_url":"https://api.github.com/users/dinosaw/gists{/gist_id}","starred_url":"https://api.github.com/users/dinosaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinosaw/subscriptions","organizations_url":"https://api.github.com/users/dinosaw/orgs","repos_url":"https://api.github.com/users/dinosaw/repos","events_url":"https://api.github.com/users/dinosaw/events{/privacy}","received_events_url":"https://api.github.com/users/dinosaw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T18:05:08Z","updated_at":"2015-05-27T17:08:06Z","closed_at":"2015-05-27T17:08:06Z","body":"Hello,\r\n\r\nI'm having a problem running your bot. After configuring the config.example.php and renaming it to config.php, and also after permitting write permissions to the directory, I then try and launch the bot by `php -f twitchbot.php`, however I am greeted with the following error:\r\n\r\n```\r\nPHP Parse error:  syntax error, unexpected '[' in /home/user/twitchbot/twitchbot.php on line 117\r\n```\r\n\r\nWhen I check line 117 on twtchbot.php, this is the line of code:\r\n\r\n```\r\n            $this->username = explode('!', ltrim($this->data[0], ':'))[0];\r\n```\r\n\r\nAny idea what could be happening?"}}