26 lines
No EOL
787 B
C#
26 lines
No EOL
787 B
C#
namespace EllieBot.VotesApi
|
|
{
|
|
public class DiscordsVoteWebhookModel
|
|
{
|
|
/// <summary>
|
|
/// The ID of the user who voted
|
|
/// </summary>
|
|
public string User { get; set; }
|
|
|
|
/// <summary>
|
|
/// The ID of the bot which recieved the vote
|
|
/// </summary>
|
|
public string Bot { get; set; }
|
|
|
|
/// <summary>
|
|
/// Contains totalVotes, votesMonth, votes24, hasVoted - a list of IDs of users who have voted this month, and
|
|
/// Voted24 - a list of IDs of users who have voted today
|
|
/// </summary>
|
|
public string Votes { get; set; }
|
|
|
|
/// <summary>
|
|
/// The type of event, whether it is a vote event or test event
|
|
/// </summary>
|
|
public string Type { get; set; }
|
|
}
|
|
} |