{"action":"created","issue":{"url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/issues/69","repository_url":"https://api.github.com/repos/hammerandchisel/discord-api-docs","labels_url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/issues/69/comments","events_url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/issues/69/events","html_url":"https://github.com/hammerandchisel/discord-api-docs/issues/69","id":158483633,"number":69,"title":"[API] Bot MFA/Two Factor","user":{"login":"jhgg","id":5489149,"avatar_url":"https://avatars.githubusercontent.com/u/5489149?v=3","gravatar_id":"","url":"https://api.github.com/users/jhgg","html_url":"https://github.com/jhgg","followers_url":"https://api.github.com/users/jhgg/followers","following_url":"https://api.github.com/users/jhgg/following{/other_user}","gists_url":"https://api.github.com/users/jhgg/gists{/gist_id}","starred_url":"https://api.github.com/users/jhgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhgg/subscriptions","organizations_url":"https://api.github.com/users/jhgg/orgs","repos_url":"https://api.github.com/users/jhgg/repos","events_url":"https://api.github.com/users/jhgg/events{/privacy}","received_events_url":"https://api.github.com/users/jhgg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/labels/api","name":"api","color":"006b75"},{"url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/labels/breaking%20change","name":"breaking change","color":"b60205"}],"state":"open","locked":false,"assignee":{"login":"night","id":2942184,"avatar_url":"https://avatars.githubusercontent.com/u/2942184?v=3","gravatar_id":"","url":"https://api.github.com/users/night","html_url":"https://github.com/night","followers_url":"https://api.github.com/users/night/followers","following_url":"https://api.github.com/users/night/following{/other_user}","gists_url":"https://api.github.com/users/night/gists{/gist_id}","starred_url":"https://api.github.com/users/night/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/night/subscriptions","organizations_url":"https://api.github.com/users/night/orgs","repos_url":"https://api.github.com/users/night/repos","events_url":"https://api.github.com/users/night/events{/privacy}","received_events_url":"https://api.github.com/users/night/received_events","type":"User","site_admin":false},"milestone":null,"comments":40,"created_at":"2016-06-04T02:49:07Z","updated_at":"2016-06-17T23:16:37Z","closed_at":null,"body":"On **June 17th, 2016** - bots will start considering their owner's two factor status on servers with two factor authentication enabled, meaning, they will be unable to perform functions which require \"elevated\" permissions functions on servers with two-factor authentication enabled until the application owner turns on two factor on their account. \r\n\r\n## As an example:\r\n\r\nServer A turns on two factor. This means that all regular users will be required to enable two factor on their accounts before they can perform functions requiring \"elevated\" permissions. Bots obviously can't have two factor, so we continue to allow bots to perform these functions on these servers. However, after this change, we will consider the two factor status of the account that owns the bot to check whether to allow the bot to perform these actions on a server with two factor enabled. \r\n\r\n_If your bot does not require these permissions, or the server does not have two factor on, your bot is unaffected._ If the owner account does not have two factor enabled, and the bot tries to perform a function which requires \"elevated\" permissions, it will not be able to until the owner account turns on 2fa. Other than that, the bot should still be able to do everything else that does not require the \"elevated\" permissions.\r\n\r\n## The following are considered \"elevated\" permissions:\r\n* KICK_MEMBERS\r\n* BAN_MEMBERS\r\n* MANAGE_CHANNELS\r\n* MANAGE_GUILD\r\n* MANAGE_ROLES\r\n* MANAGE_MESSAGES\r\n* ADMINISTRATOR\r\n\r\nFor more info about how two factor works on Discord, check out the blog post: https://blog.discordapp.com/keeping-discord-safe-and-sound/ and the support article: https://support.discordapp.com/hc/en-us/articles/219576828"},"comment":{"url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/issues/comments/226902894","html_url":"https://github.com/hammerandchisel/discord-api-docs/issues/69#issuecomment-226902894","issue_url":"https://api.github.com/repos/hammerandchisel/discord-api-docs/issues/69","id":226902894,"user":{"login":"DV8FromTheWorld","id":1479909,"avatar_url":"https://avatars.githubusercontent.com/u/1479909?v=3","gravatar_id":"","url":"https://api.github.com/users/DV8FromTheWorld","html_url":"https://github.com/DV8FromTheWorld","followers_url":"https://api.github.com/users/DV8FromTheWorld/followers","following_url":"https://api.github.com/users/DV8FromTheWorld/following{/other_user}","gists_url":"https://api.github.com/users/DV8FromTheWorld/gists{/gist_id}","starred_url":"https://api.github.com/users/DV8FromTheWorld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DV8FromTheWorld/subscriptions","organizations_url":"https://api.github.com/users/DV8FromTheWorld/orgs","repos_url":"https://api.github.com/users/DV8FromTheWorld/repos","events_url":"https://api.github.com/users/DV8FromTheWorld/events{/privacy}","received_events_url":"https://api.github.com/users/DV8FromTheWorld/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T23:16:37Z","updated_at":"2016-06-17T23:16:37Z","body":"I wish that changes like these could be launched on a test gateway like a day or 2 before, so we can test and implement support before they are completely live. Especially since you say its going to be in the READY packet, building and testing against that system would be nice. Similarly to how we could use gateway v4 and implement and work on v5 without that going live immediately, so that we'd have time to put support into the libraries."}}
{"actor":{"display_login":"DV8FromTheWorld"}}