From 8e0eb3266a792342f0c8dccddff645c77c38b435 Mon Sep 17 00:00:00 2001 From: SocksTheWolf <132639882+SocksTheWolf@users.noreply.github.com> Date: Sun, 18 Aug 2024 12:47:09 -0700 Subject: [PATCH] Add support for !claim --- MultiUserRaffleBot/Models/TwitchService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiUserRaffleBot/Models/TwitchService.cs b/MultiUserRaffleBot/Models/TwitchService.cs index ee33782..77a84d0 100644 --- a/MultiUserRaffleBot/Models/TwitchService.cs +++ b/MultiUserRaffleBot/Models/TwitchService.cs @@ -229,7 +229,7 @@ private void OnCommandReceived(object unused, OnChatCommandReceivedArgs args) SendMessageToChannel(args.Command.ChatMessage.Channel, $"@{user} you have entered!"); } } - else if (loweredCommand == "confirm" && !string.IsNullOrEmpty(CurrentWinnerName)) + else if ((loweredCommand == "confirm" || loweredCommand == "claim") && !string.IsNullOrEmpty(CurrentWinnerName)) { if (user == CurrentWinnerName) {