More fixes to the new config. Module loader reworked
This commit is contained in:
22
DiscordBotCore/Interfaces/IDbEvent.cs
Normal file
22
DiscordBotCore/Interfaces/IDbEvent.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace DiscordBotCore.Interfaces;
|
||||
|
||||
public interface IDbEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// The name of the event
|
||||
/// </summary>
|
||||
string Name { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The description of the event
|
||||
/// </summary>
|
||||
string Description { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The method that is invoked when the event is loaded into memory
|
||||
/// </summary>
|
||||
/// <param name="client">The discord bot client</param>
|
||||
void Start(DiscordSocketClient client);
|
||||
}
|
||||
Reference in New Issue
Block a user