dylanmx said:
If i poured some octane booster into the gas would that make it safe enough to use in the bike?
Most "octane boosters" are about useless. They are very expensive and only raise the octane rating a few points. "Great," you say, "that's all I need." Unfortunately when they say "point" they mean 0.1, not 1.0, on the octane rating.
Before I tried any of that stuff I'd see if I could find some race gas. Mix it 50/50 with your current fuel (don't forget to add an appropriate amount of oil for the race gas you added) and that should bring the overall octane rating up enough to work and stop the detonation, allowing you to use up the fuel you have.
Barring that, I'd demote your fuel to weedwacker duty and buy new fuel. A few gallons of fuel is cheaper than repairing engine damage.