Files
nadekobot/NadekoBot.Core/Services/Database/Models/ReactionRole.cs
2021-09-06 21:29:22 +02:00

25 lines
642 B
C#

using System.Collections.Generic;
namespace NadekoBot.Core.Services.Database.Models
{
public class ReactionRoleMessage : DbEntity, IIndexed
{
public int Index { get; set; }
public int GuildConfigId { get; set; }
public GuildConfig GuildConfig { get; set; }
public ulong ChannelId { get; set; }
public ulong MessageId { get; set; }
public List<ReactionRole> ReactionRoles { get; set; }
public bool Exclusive { get; set; }
}
public class ReactionRole : DbEntity
{
public string EmoteName { get; set; }
public ulong RoleId { get; set; }
}
}