{"action":"opened","issue":{"url":"https://api.github.com/repos/superadm1n/StatusUpdate/issues/1","repository_url":"https://api.github.com/repos/superadm1n/StatusUpdate","labels_url":"https://api.github.com/repos/superadm1n/StatusUpdate/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/superadm1n/StatusUpdate/issues/1/comments","events_url":"https://api.github.com/repos/superadm1n/StatusUpdate/issues/1/events","html_url":"https://github.com/superadm1n/StatusUpdate/issues/1","id":315721334,"number":1,"title":"Remove hardcode to print text and allow to return text or print directly","user":{"login":"superadm1n","id":32282453,"avatar_url":"https://avatars1.githubusercontent.com/u/32282453?v=4","gravatar_id":"","url":"https://api.github.com/users/superadm1n","html_url":"https://github.com/superadm1n","followers_url":"https://api.github.com/users/superadm1n/followers","following_url":"https://api.github.com/users/superadm1n/following{/other_user}","gists_url":"https://api.github.com/users/superadm1n/gists{/gist_id}","starred_url":"https://api.github.com/users/superadm1n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superadm1n/subscriptions","organizations_url":"https://api.github.com/users/superadm1n/orgs","repos_url":"https://api.github.com/users/superadm1n/repos","events_url":"https://api.github.com/users/superadm1n/events{/privacy}","received_events_url":"https://api.github.com/users/superadm1n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-19T04:10:11Z","updated_at":"2018-04-19T04:10:11Z","closed_at":null,"author_association":"OWNER","body":"The StatusBar and StatusBlock functions are hard coded to print the output and it would be beneficial to have the option return the output vs always printing which would make these functions to be more flexible and would them to be used in more flexible ways.\r\n\r\nI think the best way to fix this would be to add a true/false flag to each function that will trigger the text to either print or return the text and then change each of the print statements to generate text and either print or return in based on that true/false flag."}}
{"actor":{"display_login":"superadm1n"}}