Guppies do best in the middle range. If kept long term at high temps their life span will be shortened. It is acceptable for short periods of time to treat diseases such as ich.
Guppies should not be kept with bettas. Guppies need hard water and bettas need soft. Depending on what you have, one or the other will suffer and eventually suffer a long early death. Guppies are designed to take the minerals out of the hard water, in soft water they are unable to do this. It is like starving. Bettas have the opposite problem if kept in hard water, they cant handle the hardness.
In addition to this bettas should not be kept with other fish for other reasons, some people report success but they have not way of knowing for sure. Bettas are aggressive territorial fish. If there is another fish in its territory, even if it doesn't physically attack, it will produce pheromones and allomones into the water, stressing the other fish and itself, making all fish involved more prone to disease.
This may be able to be done in an extremely large tank, it should only be done with fish requiring the same water softness and PH levels, so not guppies, mollies, platies, swordtails, rainbowfish, etc