Closed ThePooN closed 1 year ago
It's currently a bit more work but it's already possible to get normal auth code token with chat.write
scope as long it's for your own user.
If anything I'd rather remove the delegate thing and add a way to create the chat token through settings page directly.
Yeah, auth code with chat.write
seems to work just fine.
There are two kinds of bot accounts:
Users with hybrid bot accounts are currently hit by the following error when trying to use the
delegate
scope:This came up as Tillerino is looking to switch from IRC to APIv2/WebSockets, but is currently blocked by this check, as isBot only considers full bot accounts. This is also going to hit me and osu!frlive when we eventually start working on organizing full-scale osu!(lazer) tournaments.
Fixing this is non-trivial as all side-effects of making
isBot
returntrue
for hybrid bots are not desirable. I started working on a patch, adding anisHybridBot
method to theUser
model and replacing usage ofisBot
byisHybridBot
where applicable, please let me know if this is the right direction.