mirror of
https://github.com/Caraxi/mare.server.git
synced 2026-02-16 05:47:42 +01:00
bugfix
This commit is contained in:
parent
4732c62d20
commit
e7a5ad3730
2 changed files with 7 additions and 3 deletions
|
|
@ -60,7 +60,7 @@ public partial class MareWizardModule : InteractionModuleBase
|
|||
}
|
||||
#if !DEBUG
|
||||
bool isInAprilFoolsMode = _mareServicesConfiguration.GetValueOrDefault<ulong?>(nameof(ServicesConfiguration.DiscordRoleAprilFools2024), null) != null
|
||||
&& DateTime.UtcNow.Month == 4 && DateTime.UtcNow.Day == 1 && DateTime.UtcNow.Year == 2024 && DateTime.UtcNow.Hour >= 12;
|
||||
&& DateTime.UtcNow.Month == 4 && DateTime.UtcNow.Day == 1 && DateTime.UtcNow.Year == 2024 && DateTime.UtcNow.Hour >= 10;
|
||||
#elif DEBUG
|
||||
bool isInAprilFoolsMode = true;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue