{"action":"created","issue":{"url":"https://api.github.com/repos/TheSharks/WildBeast/issues/325","repository_url":"https://api.github.com/repos/TheSharks/WildBeast","labels_url":"https://api.github.com/repos/TheSharks/WildBeast/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/TheSharks/WildBeast/issues/325/comments","events_url":"https://api.github.com/repos/TheSharks/WildBeast/issues/325/events","html_url":"https://github.com/TheSharks/WildBeast/issues/325","id":331308941,"node_id":"MDU6SXNzdWUzMzEzMDg5NDE=","number":325,"title":".env command configuration issues","user":{"login":"lazeraman","id":13284690,"node_id":"MDQ6VXNlcjEzMjg0Njkw","avatar_url":"https://avatars3.githubusercontent.com/u/13284690?v=4","gravatar_id":"","url":"https://api.github.com/users/lazeraman","html_url":"https://github.com/lazeraman","followers_url":"https://api.github.com/users/lazeraman/followers","following_url":"https://api.github.com/users/lazeraman/following{/other_user}","gists_url":"https://api.github.com/users/lazeraman/gists{/gist_id}","starred_url":"https://api.github.com/users/lazeraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazeraman/subscriptions","organizations_url":"https://api.github.com/users/lazeraman/orgs","repos_url":"https://api.github.com/users/lazeraman/repos","events_url":"https://api.github.com/users/lazeraman/events{/privacy}","received_events_url":"https://api.github.com/users/lazeraman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-11T18:56:22Z","updated_at":"2018-06-11T20:56:29Z","closed_at":null,"author_association":"NONE","body":"The command that require the .env configurations are not working for me. I doubt I configured it correctly since the linked page does not really help with how to set up the file but I did as follows:\r\n\r\nIMGFLIP_USERNAME=\"xxxx@xxx.com\"\r\nIMGFLIP_PASSWORD=\"xxxxxxx\"\r\nIMGUR_KEY=\"xxxxxx\"\r\nTWITCH_ID=\"xxxxxx\"\r\nWILDBEAST_VOICE_PERSIST=true\r\n\r\nErrors for each command:\r\n\r\nCMD: randommeme by XXXX in test\r\nERROR: REST call failed: Error: Forbidden\r\n\r\nCMD: twitch by XXXX in test\r\nERROR: TypeError [ERR_MISSING_ARGS]: The \"value\" argument must be specified\r\n    at validateHeader (_http_outgoing.js:501:11)\r\n    at ClientRequest.setHeader (_http_outgoing.js:510:3)\r\n    at Request.request (/opt/wildbeast/node_modules/superagent/lib/node/index.js:660:11)\r\n    at Request.end (/opt/wildbeast/node_modules/superagent/lib/node/index.js:764:8)\r\n    at Object.fn (/opt/wildbeast/src/commands/twitch.js:17:10)\r\n    at Object.module.exports [as messageCreate] (/opt/wildbeast/src/events/messageCreate.js:66:25)\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:182:7)\r\n\r\nCan someone tell me the correct way to setup the .env file?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/TheSharks/WildBeast/issues/comments/396384511","html_url":"https://github.com/TheSharks/WildBeast/issues/325#issuecomment-396384511","issue_url":"https://api.github.com/repos/TheSharks/WildBeast/issues/325","id":396384511,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjM4NDUxMQ==","user":{"login":"Dougley","id":9768134,"node_id":"MDQ6VXNlcjk3NjgxMzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/9768134?v=4","gravatar_id":"","url":"https://api.github.com/users/Dougley","html_url":"https://github.com/Dougley","followers_url":"https://api.github.com/users/Dougley/followers","following_url":"https://api.github.com/users/Dougley/following{/other_user}","gists_url":"https://api.github.com/users/Dougley/gists{/gist_id}","starred_url":"https://api.github.com/users/Dougley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dougley/subscriptions","organizations_url":"https://api.github.com/users/Dougley/orgs","repos_url":"https://api.github.com/users/Dougley/repos","events_url":"https://api.github.com/users/Dougley/events{/privacy}","received_events_url":"https://api.github.com/users/Dougley/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T20:56:29Z","updated_at":"2018-06-11T20:56:29Z","author_association":"MEMBER","body":"Due to how docker works, you'd need to declare to docker-compose that you want to use a dotenv file.\nWe plan on adding this ourselves later, but for now you can workaround this by adding `env_file: .env` to the wildbeast container configuration."}}
{"actor":{"display_login":"Dougley"}}