Renamed PluginManager to DiscordBotCore.
Revamped the Logger
This commit is contained in:
22
DiscordBotCore/Interfaces/ICommandAction.cs
Normal file
22
DiscordBotCore/Interfaces/ICommandAction.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using DiscordBotCore.Others;
|
||||
using DiscordBotCore.Others.Actions;
|
||||
|
||||
namespace DiscordBotCore.Interfaces;
|
||||
|
||||
public interface ICommandAction
|
||||
{
|
||||
public string ActionName { get; }
|
||||
|
||||
public string? Description { get; }
|
||||
|
||||
public string? Usage { get; }
|
||||
|
||||
public IEnumerable<InternalActionOption> ListOfOptions { get; }
|
||||
|
||||
public InternalActionRunType RunType { get; }
|
||||
|
||||
public Task Execute(string[]? args);
|
||||
}
|
||||
Reference in New Issue
Block a user