From fac972533550085ea1883c3d9ce2029cef037dfd Mon Sep 17 00:00:00 2001 From: SocksTheWolf <132639882+SocksTheWolf@users.noreply.github.com> Date: Sun, 18 Aug 2024 15:10:33 -0700 Subject: [PATCH] Small updates --- MultiUserRaffleBot/Models/RaffleService.cs | 4 ---- README.md | 5 +++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/MultiUserRaffleBot/Models/RaffleService.cs b/MultiUserRaffleBot/Models/RaffleService.cs index aedfa5d..fe556cf 100644 --- a/MultiUserRaffleBot/Models/RaffleService.cs +++ b/MultiUserRaffleBot/Models/RaffleService.cs @@ -42,10 +42,6 @@ public void ReachMilestone(double milestone) PrintMessage($"Enqueued a raffle for milestone {milestone}"); RaffleQueue.Enqueue(RaffleData[milestone]); } - else - { - PrintMessage($"Unable to enqueue a raffle for milestone {milestone}"); - } } protected override async Task Tick() diff --git a/README.md b/README.md index 495e3fa..704bd79 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Once set, restart the application and keep it running for however long your even ## Notes -* All raffle winners will contain the Twitch whisperable username of the winner in a generated raffles.txt file. +* All raffle winners will contain the Twitch whisperable username of the winner in a generated `raffles.txt` file. * There is no support for "restoring progress" from closing the app and opening it again. If you need to close the app, it's recommended that you remove all the completed raffles from your config file. Otherwise those previous raffles will run again. * This connects to all of the Twitch accounts in the channels list * If no raffle entries are made, the raffle will be closed with no winner and still documented in the output raffles.txt file. @@ -22,7 +22,8 @@ This is an array of RaffleItems, of which the schema is as follows: { "Artist": "ExampleArtist", "Type": "Full body piece", - "Amount": 200.00 + "Amount": 200.00, + "RaffleTime": 600 } ```