92aafcde70
Future: make return params dynamic, not string now requires type in message objects
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; }
|
|
}
|