{"action":"closed","issue":{"url":"https://api.github.com/repos/TwitchLib/TwitchLib/issues/417","repository_url":"https://api.github.com/repos/TwitchLib/TwitchLib","labels_url":"https://api.github.com/repos/TwitchLib/TwitchLib/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/TwitchLib/TwitchLib/issues/417/comments","events_url":"https://api.github.com/repos/TwitchLib/TwitchLib/issues/417/events","html_url":"https://github.com/TwitchLib/TwitchLib/issues/417","id":360259388,"node_id":"MDU6SXNzdWUzNjAyNTkzODg=","number":417,"title":"[Question] Write as botaccount, not streameraccount","user":{"login":"Moerty","id":26777372,"node_id":"MDQ6VXNlcjI2Nzc3Mzcy","avatar_url":"https://avatars0.githubusercontent.com/u/26777372?v=4","gravatar_id":"","url":"https://api.github.com/users/Moerty","html_url":"https://github.com/Moerty","followers_url":"https://api.github.com/users/Moerty/followers","following_url":"https://api.github.com/users/Moerty/following{/other_user}","gists_url":"https://api.github.com/users/Moerty/gists{/gist_id}","starred_url":"https://api.github.com/users/Moerty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Moerty/subscriptions","organizations_url":"https://api.github.com/users/Moerty/orgs","repos_url":"https://api.github.com/users/Moerty/repos","events_url":"https://api.github.com/users/Moerty/events{/privacy}","received_events_url":"https://api.github.com/users/Moerty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-14T11:03:45Z","updated_at":"2018-09-22T03:39:25Z","closed_at":"2018-09-22T03:39:25Z","author_association":"CONTRIBUTOR","body":"So, I make an oauth request with the bots client-id and get an oauth key back from twitch.\r\n\r\nTo check if all is valid, I do the call \"TwitchApi.Root.v5.GetRootAsync()\".\r\n\r\nAnd everything is valid. The username is not the bot(what I would expect), but the streamer.\r\nBut the shown clientid is from the bot.\r\n\r\nI can connect with the lib, but if I want to send a message, I write as the streamer, not as the bot.\r\n\r\nClientID: Bots-clientid\r\nOAuth: Generated oauth token from \"api.twitch.tv/kraken/oauth2/authorize\"\r\n\r\nSo has anyone an example, how I can send messages as the Botuser?\r\nWhat am I doing wrong?"}}
{"actor":{"display_login":"swiftyspiffy"}}