chaosbot/ChaosBot/Models/CustomCommand.cs

27 lines
591 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ChaosBot.Models
{
#region Required
public class CustomCommand
{
[Required]
public ulong DiscordGuildId { get; set; }
[Required]
[MaxLength(128)]
public string Command { get; set; }
[Required]
public CustomCommandType Type { get; set; }
[Required]
public string Content { get; set; }
}
#endregion
public enum CustomCommandType
{
Basic
}
}