25 lines
506 B
C#
25 lines
506 B
C#
/*
|
|
|
|
Copyright © 2019 Tara Piccari (Aria; Tashia Redrose)
|
|
Licensed under the GPLv2
|
|
|
|
*/
|
|
|
|
using System;
|
|
using System.Reflection;
|
|
|
|
namespace Bot.WebHookServer
|
|
{
|
|
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
|
|
public class WebhookAttribs : Attribute
|
|
{
|
|
public string Path = "";
|
|
public MethodInfo AssignedMethod = null;
|
|
public string HTTPMethod = "GET";
|
|
public WebhookAttribs(string WebPath)
|
|
{
|
|
Path = WebPath;
|
|
}
|
|
}
|
|
}
|