Starlight Glimmer sends Twilight to loads of alternate timelines. They apparently get worse as they go along. Twilight gets stuck in the worst imaginable Equestria and meets the ponies who could have been her friends.
Worst imaginable Equestria she visits alone, that is.