Add a source type to not command hooks
This commit is contained in:
parent
a50237304d
commit
fe628b0a9d
3 changed files with 23 additions and 7 deletions
|
@ -7,6 +7,10 @@ namespace Bot.NonCommands
|
|||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
|
||||
public class NotCommand : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// Defaults to all except action
|
||||
/// </summary>
|
||||
public MessageHandler.Destinations SourceType = MessageHandler.Destinations.DEST_AGENT | MessageHandler.Destinations.DEST_CONSOLE_INFO | MessageHandler.Destinations.DEST_DISCORD | MessageHandler.Destinations.DEST_GROUP | MessageHandler.Destinations.DEST_LOCAL;
|
||||
public NotCommand()
|
||||
{
|
||||
// Not Command, this just marks a class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue