Added Core module support. Things are unstable
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
|
||||
namespace DiscordBotCore.Interfaces.Modules
|
||||
{
|
||||
public interface IBaseModule
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DiscordBotCore.Interfaces.Modules
|
||||
{
|
||||
public interface IModule<T> where T : IBaseModule
|
||||
{
|
||||
public string Name { get; }
|
||||
public T Module { get; }
|
||||
public Task Initialize();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user