{"action":"opened","issue":{"url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/99","repository_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot","labels_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/99/comments","events_url":"https://api.github.com/repos/Twentysix26/Red-DiscordBot/issues/99/events","html_url":"https://github.com/Twentysix26/Red-DiscordBot/issues/99","id":142089494,"number":99,"title":"Features Request support for new discord bot accounts","user":{"login":"josiec09","id":16927420,"avatar_url":"https://avatars.githubusercontent.com/u/16927420?v=3","gravatar_id":"","url":"https://api.github.com/users/josiec09","html_url":"https://github.com/josiec09","followers_url":"https://api.github.com/users/josiec09/followers","following_url":"https://api.github.com/users/josiec09/following{/other_user}","gists_url":"https://api.github.com/users/josiec09/gists{/gist_id}","starred_url":"https://api.github.com/users/josiec09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josiec09/subscriptions","organizations_url":"https://api.github.com/users/josiec09/orgs","repos_url":"https://api.github.com/users/josiec09/repos","events_url":"https://api.github.com/users/josiec09/events{/privacy}","received_events_url":"https://api.github.com/users/josiec09/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-19T18:35:20Z","updated_at":"2016-03-19T18:35:20Z","closed_at":null,"body":"So now that Discord will be releasing an official API documentation soon and have added Bot Accounts will you be adding support for Bot accounts so with can have a bot in multiple voice channels at the same time and all the other features they will be adding?\r\n\r\n> \r\nPost from Discard Devs\r\n\r\nBot accounts are live, and official API documentation is coming soon!\r\n \r\nBut, before we release it en-mass, you can try it out by manually creating an OAuth2 Application and converting an existing bot user to it, or creating a new bot user for it. The guide below assumes you're on OSX/Linux (or have curl/cygwin on windows) There will be a to do UI for all this in the documentation. If you are unfamiliar with the concepts in the tutorial below, wait for the documentation to come out!\r\n\r\nHow to create an application (this is the same API used to create an Application in Stanislav's example above)\r\n\r\n```\r\ncurl -H 'Authorization: YOUR_TOKEN' \\\r\n     -H \"Content-Type: application/json\" \\\r\n     -X POST -d '{\"name\": \"YOUR BOT NAME HERE\"}' \\\r\n     https://discordapp.com/api/oauth2/applications\r\n```\r\n\r\n\r\nYou should get back:\r\n{\"secret\": \"XXX\", \"redirect_uris\": [], \"description\": \"\", \"name\": \"YOUR BOT NAME HERE\", \"id\": \"YYY\", \"icon\": null}\r\n\r\n\r\nKeep the secret secret, and the id safe. You've successfully created your Application!\r\n\r\nNow, you can either convert a user to a bot, or create a new bot account (note the id is your applicationid`): \r\n\r\n```\r\ncurl -H 'Authorization: YOUR TOKEN' \\\r\n     -H \"Content-Type: application/json\" \\\r\n     -X POST -d '{\"token\": \"YOUR BOT USERS TOKEN\"}' \\\r\n     https://discordapp.com/api/oauth2/applications/:id/bot\r\n```\r\n\r\n\r\nYou should get back:\r\n```\r\n{\"username\": \"Mewsick\", \"bot\": true, \"token\": \"YOUR BOTS NEW TOKEN\", \"avatar\": \"338f4d9d97056ae22c4a3feab5f0da07\", \r\n\"discriminator\": \"1550\", \"id\": \"132254000253894656\"}\r\n```\r\n\r\n\r\nTo create a fresh bot account, just don't provide a token. It will use your application name as the username for the bot.(edited)\r\nNOTE:\r\n * Converting a user account to a bot account is irreversible. USE CAUTION!\r\n * Bot accounts:\r\n    - do not have a password, or e-mail. This means you cannot reset the password to regain the token (a way to reset this token will be available soon)\r\n    - are unable to accept invites, and are only able to join a guild via the oauth 2 flow (more on this soon).\r\n    - are unable to have friends.\r\n * However, bot accounts:\r\n    - are able to be connected to multiple voice channels at the same time.\r\n    - have a fancy [bot] tag beside their name.\r\n    - will have higher per-server rate limits.\r\n    - and be able to do much more (as we roll out this feature).\r\nSo, you've created a bot, and you want to add it to servers now. How this happens is simple, just make a link to the authorize page with your application's id & the bot scope.\r\n\r\nhttps://discordapp.com/oauth2/authorize?&client_id=YYYY&scope=bot\r\n\r\n(You can invite my bot to your server by using this link to check it out: https://discordapp.com/oauth2/authorize?&client_id=157730590492196864&scope=bot)\r\n\r\nAdditional URL parameters:\r\n * permissions: An integer containing the permission bits set that you want the bot to have.\r\n* guild_id: If you know the specific guild ID you want the bot to join.\r\n * ... there are more, that will be released with the official docs!(edited)\r\n> "}}