Update bot - move webhook server to main bot

This commit is contained in:
Zontreck 2020-04-19 22:34:34 -07:00
parent 2345db0da0
commit 58e593c898
6 changed files with 366 additions and 2 deletions

View file

@ -0,0 +1,25 @@
/*
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;
}
}
}