// Raffle constructor accepts JSON data from API public Raffle(JToken giveawayProperties) { raffleProperties = new RaffleProperties(giveawayProperties); raffleTimer.Elapsed += raffleTimerTick; claimTimer.Elapsed += claimTimerTick; }