8 lines
275 B
C#
8 lines
275 B
C#
|
namespace MinecraftDiscordBot.Models;
|
|||
|
|
|||
|
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
|||
|
public sealed class MessageTypeAttribute : Attribute {
|
|||
|
public MessageTypeAttribute(string type) => Name = type;
|
|||
|
public string Name { get; }
|
|||
|
}
|