mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added missing state clear after the nobody participated message
This commit is contained in:
@@ -91,6 +91,7 @@ public class KasinoRain : IDisposable
|
||||
await _kfChatBot.SendChatMessageAsync(
|
||||
$"Nobody participated in {creator.User.FormatUsername()}'s rain!",
|
||||
true, autoDeleteAfter: TimeSpan.FromSeconds(30));
|
||||
await RemoveRainState();
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -142,4 +143,4 @@ public class KasinoRainModel
|
||||
public required DateTimeOffset Started { get; set; }
|
||||
public required decimal RainAmount { get; set; }
|
||||
public required DateTimeOffset PayoutWhen { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user