cs-codex-dist-tests/Framework/DiscordRewards/GiveRewardsCommand.cs

20 lines
531 B
C#
Raw Normal View History

namespace DiscordRewards
2024-01-22 09:27:07 +00:00
{
public class GiveRewardsCommand
{
public RewardUsersCommand[] Rewards { get; set; } = Array.Empty<RewardUsersCommand>();
public string[] EventsOverview { get; set; } = Array.Empty<string>();
public bool HasAny()
{
return Rewards.Any() || EventsOverview.Any();
}
2024-01-22 09:27:07 +00:00
}
public class RewardUsersCommand
{
public ulong RewardId { get; set; }
public string[] UserAddresses { get; set; } = Array.Empty<string>();
}
}