25 lines
481 B
C#
25 lines
481 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DiscordBotCore.Interfaces.Modules
|
|
{
|
|
|
|
public enum ModuleType
|
|
{
|
|
Logger,
|
|
Other
|
|
}
|
|
|
|
/// <summary>
|
|
/// Define a module.
|
|
/// </summary>
|
|
public interface IModule
|
|
{
|
|
public ModuleType ModuleType { get; }
|
|
public string Name { get; }
|
|
public IDictionary<string, string> MethodMapping { get; }
|
|
|
|
public Task Initialize();
|
|
}
|
|
}
|