Built the entire bot! This includes:
-
/lottery add <order_id> - This’ll automatically take a Flavortown lottery order and fulfill it leaving the ticket numbers in the Flavortown fulfilment reference.
-
/lottery new <name> - This’ll create a new lottery!
-
/lottery draw - This’ll draw the winner of an existing lottery, and then close it.
There’s also a simple API over at https://gamblorpheus.hackclub.com/api/lotteries so that you can see how many tickets are in the pot and build cool stuff for it!
If you’ve bought or are going to buy a lottery ticket through Flavortown, it’ll be going through Gamblorpheus :)