TwitchPlaysPokemon / musicCat

TPP's new music system, replacing the old one for PBR
GNU General Public License v2.0
3 stars 2 forks source link

Place bet function #3

Closed abyll closed 8 years ago

abyll commented 9 years ago

place_bet(username, amount, songid, category) - passed from the parse_bid function

Verify the song is valid for the category Check the new bid against any existing bid for that category Record the new bid (if won), and make the quantity of bet tokens available back to the Tokens module.

RevoSucks commented 8 years ago

This should be handled by bidCat instead and whatever raised the bet in the first place. Instead, musicCat is called to play the winning song.