Files
SethDiscordBot/DiscordBotCore.PluginCore/Interfaces/IDbEvent.cs
2025-05-30 12:09:48 +03:00

23 lines
581 B
C#

using DiscordBotCore.PluginCore.Helpers.Execution.DbEvent;
namespace DiscordBotCore.PluginCore.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="args">The arguments for the start method</param>
void Start(IDbEventExecutingArgument args);
}