{"action":"created","issue":{"url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide/issues/51","repository_url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide","labels_url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide/issues/51/comments","events_url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide/issues/51/events","html_url":"https://github.com/AnIdiotsGuide/discordjs-bot-guide/pull/51","id":369985506,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNzcxNDY1","number":51,"title":"Environment Variables and .env Files","user":{"login":"acollierr17","id":16583889,"node_id":"MDQ6VXNlcjE2NTgzODg5","avatar_url":"https://avatars0.githubusercontent.com/u/16583889?v=4","gravatar_id":"","url":"https://api.github.com/users/acollierr17","html_url":"https://github.com/acollierr17","followers_url":"https://api.github.com/users/acollierr17/followers","following_url":"https://api.github.com/users/acollierr17/following{/other_user}","gists_url":"https://api.github.com/users/acollierr17/gists{/gist_id}","starred_url":"https://api.github.com/users/acollierr17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acollierr17/subscriptions","organizations_url":"https://api.github.com/users/acollierr17/orgs","repos_url":"https://api.github.com/users/acollierr17/repos","events_url":"https://api.github.com/users/acollierr17/events{/privacy}","received_events_url":"https://api.github.com/users/acollierr17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-15T03:28:31Z","updated_at":"2018-10-15T03:33:27Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide/pulls/51","html_url":"https://github.com/AnIdiotsGuide/discordjs-bot-guide/pull/51","diff_url":"https://github.com/AnIdiotsGuide/discordjs-bot-guide/pull/51.diff","patch_url":"https://github.com/AnIdiotsGuide/discordjs-bot-guide/pull/51.patch"},"body":"I think `.env` files and environment variables are something really useful for both developers to know. Especially when it comes to sharing code or hosting it here on GitHub or any other online repositories where it may be accessed publicly. So I decided to add a page dedicated to environment variables to point out the specifics and why people should use them, not only for use cases like Heroku or Glitch.\r\n\r\nAm happy to change anything needed as well as take suggestions.\r\n\r\n(Also my first ever contribution to an open-source project!)"},"comment":{"url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide/issues/comments/429698268","html_url":"https://github.com/AnIdiotsGuide/discordjs-bot-guide/pull/51#issuecomment-429698268","issue_url":"https://api.github.com/repos/AnIdiotsGuide/discordjs-bot-guide/issues/51","id":429698268,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY5ODI2OA==","user":{"login":"acollierr17","id":16583889,"node_id":"MDQ6VXNlcjE2NTgzODg5","avatar_url":"https://avatars0.githubusercontent.com/u/16583889?v=4","gravatar_id":"","url":"https://api.github.com/users/acollierr17","html_url":"https://github.com/acollierr17","followers_url":"https://api.github.com/users/acollierr17/followers","following_url":"https://api.github.com/users/acollierr17/following{/other_user}","gists_url":"https://api.github.com/users/acollierr17/gists{/gist_id}","starred_url":"https://api.github.com/users/acollierr17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acollierr17/subscriptions","organizations_url":"https://api.github.com/users/acollierr17/orgs","repos_url":"https://api.github.com/users/acollierr17/repos","events_url":"https://api.github.com/users/acollierr17/events{/privacy}","received_events_url":"https://api.github.com/users/acollierr17/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T03:33:27Z","updated_at":"2018-10-15T03:33:27Z","author_association":"NONE","body":"> Looks good to me, I feel you should mention you can set environment variables in the start script too. Like running `NODE_ENV=production node index` sets `process.env.NODE_ENV` \"production\".\r\n\r\nI can surely add that!"}}
{"actor":{"display_login":"acollierr17"}}