{"action":"created","issue":{"url":"https://api.github.com/repos/nylonee/hangupsbot/issues/164","labels_url":"https://api.github.com/repos/nylonee/hangupsbot/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/nylonee/hangupsbot/issues/164/comments","events_url":"https://api.github.com/repos/nylonee/hangupsbot/issues/164/events","html_url":"https://github.com/nylonee/hangupsbot/issues/164","id":71664736,"number":164,"title":"enh request: /bot user & /bot hangout to give id on a separate line","user":{"login":"FrNico","id":11850657,"avatar_url":"https://avatars.githubusercontent.com/u/11850657?v=3","gravatar_id":"","url":"https://api.github.com/users/FrNico","html_url":"https://github.com/FrNico","followers_url":"https://api.github.com/users/FrNico/followers","following_url":"https://api.github.com/users/FrNico/following{/other_user}","gists_url":"https://api.github.com/users/FrNico/gists{/gist_id}","starred_url":"https://api.github.com/users/FrNico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrNico/subscriptions","organizations_url":"https://api.github.com/users/FrNico/orgs","repos_url":"https://api.github.com/users/FrNico/repos","events_url":"https://api.github.com/users/FrNico/events{/privacy}","received_events_url":"https://api.github.com/users/FrNico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T18:21:29Z","updated_at":"2015-04-28T23:43:25Z","closed_at":null,"body":"When we do /bot user John or /bot hangout NiceName it's usually to get conv_id or user_id.\r\n\r\nOn mobile, if we like to then use it for /bot addusers, /bot leave or else, it would be convenient to have that conv_id or user_id on a different line, so we can easily copy / paste.\r\n\r\nI do like to have all replies in one message when on desktop, so maybe duplicate these 2 commands into /bot userid and /bot hangoutid to have that behavior of having names and ids sent over different messages... (since only useful on mobile) Thoughts?"},"comment":{"url":"https://api.github.com/repos/nylonee/hangupsbot/issues/comments/97264694","html_url":"https://github.com/nylonee/hangupsbot/issues/164#issuecomment-97264694","issue_url":"https://api.github.com/repos/nylonee/hangupsbot/issues/164","id":97264694,"user":{"login":"endofline","id":1592553,"avatar_url":"https://avatars.githubusercontent.com/u/1592553?v=3","gravatar_id":"","url":"https://api.github.com/users/endofline","html_url":"https://github.com/endofline","followers_url":"https://api.github.com/users/endofline/followers","following_url":"https://api.github.com/users/endofline/following{/other_user}","gists_url":"https://api.github.com/users/endofline/gists{/gist_id}","starred_url":"https://api.github.com/users/endofline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endofline/subscriptions","organizations_url":"https://api.github.com/users/endofline/orgs","repos_url":"https://api.github.com/users/endofline/repos","events_url":"https://api.github.com/users/endofline/events{/privacy}","received_events_url":"https://api.github.com/users/endofline/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T23:43:25Z","updated_at":"2015-04-28T23:43:25Z","body":"Personally I'll be cautious duplicating functionality. Some issues to consider:\r\n* line-by-line output for large amounts of users and/or hangouts (possible for certain bots) will generate a lot of message spam (\"150 messages received!\") if used incorrectly in a chat\r\n* not sure if sending would be sequential - probably would be, but needs some testing\r\n* duplicating functionality for what amounts to be a workaround for a limitation of mobile copy/paste\r\n\r\nSome possibilities of implementation (IMO):\r\n* add an (optional) \"linebyline\" or \"spacedlist\" parameter instead to existing commands\r\n* add subfolder-based (2.4) mobile-friendly plugin - added as a git submodule \r\n\r\nAt the moment, will accept PRs for the above, and/or we can further the discussion if there are any more suggestions."}}