mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-06 15:33:11 +00:00
20 lines
531 B
C#
20 lines
531 B
C#
namespace DiscordRewards
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
|
|
public class RewardUsersCommand
|
|
{
|
|
public ulong RewardId { get; set; }
|
|
public string[] UserAddresses { get; set; } = Array.Empty<string>();
|
|
}
|
|
}
|