So I'm building a discord level bot and am trying to get this formula to be into my code, but idk how I would do that.
This is the formula 5 * (lvl ^ 2) + (50 * lvl) + 100 - xp
when pasting in this console.log(5 * (78 ^ 2) + (50 * 78) + 100)
it gives me an answer that is 4380, when the result should be 34420.