I think the ship has sailed on the API. It was a different time, and the people that used Twitter's API to do fun things didn't just give up...they migrated to mastodon and discord. I don't think the golden years of twitter are coming back.
Discord is a very different product but the demographics of users are very much those that have migrated from hackers on twitter to being in discord groups as of today.