Files
SethDiscordBot/DiscordBotCore/Interfaces/IDbEvent.cs

23 lines
522 B
C#

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);
}