Credit: © JEFF PACHOUD/AFP/Getty Images

Once upon a time, dissatisfied masses were greeted with “let them eat cake” but the world’s most popular candy bar has something even sweeter in mind for any large-scale angry revolution.

As a natural next step in Snickers’ "You're not you when you're hungry" campaign (the one that let you finally see Danny Trejo as a the petulant little girl you knew he was), the candy brand will use an Internet algorithm measuring the anger level of its customers and lower their prices if that anger gets too high.

Here’s how the algorithm, or the ‘hungerithm” works:

"Considering how quickly the Internet can swing from a place of sharing and enlightenment to one of incredible vitriol, we felt this was the perfect way to bring the, 'You're Not You When You're Hungry' platform to life," Ant Keogh, the creative director of Clemenger BBDO Melbourne, the ad agency working with Snickers on this campaign, said in a statement.

Currently, the promotion is only available at 7-Elevens in Australia, but the company plans to expand it worldwide by next year. If everyone can just stay angry about the election until then, this will really pay off.