Add project files.
This commit is contained in:
19
PluginManager/Interfaces/DBCommand.cs
Normal file
19
PluginManager/Interfaces/DBCommand.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace PluginManager.Interfaces
|
||||
{
|
||||
public interface DBCommand
|
||||
{
|
||||
string Command { get; }
|
||||
|
||||
string Description { get; }
|
||||
|
||||
string Usage { get; }
|
||||
|
||||
bool canUseDM { get; }
|
||||
bool canUseServer { get; }
|
||||
|
||||
void Execute(Discord.Commands.SocketCommandContext context,
|
||||
Discord.WebSocket.SocketMessage message,
|
||||
Discord.WebSocket.DiscordSocketClient client,
|
||||
bool isDM);
|
||||
}
|
||||
}
|
||||
12
PluginManager/Interfaces/DBEvent.cs
Normal file
12
PluginManager/Interfaces/DBEvent.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace PluginManager.Interfaces
|
||||
{
|
||||
public interface DBEvent
|
||||
{
|
||||
string name { get; }
|
||||
string description { get; }
|
||||
|
||||
void Start(DiscordSocketClient client);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user