using DiscordBotCore.Logging; using DiscordBotCore.PluginCore.Helpers; using DiscordBotCore.PluginCore.Helpers.Execution.DbCommand; namespace DiscordBotCore.PluginCore.Interfaces; public interface IDbCommand { /// /// Command to be executed /// It's CaSe SeNsItIvE /// string Command { get; } /// /// Command aliases. Users may use this to execute the command /// List Aliases { get; } /// /// Command description /// string Description { get; } /// /// The usage for your command. /// It will be displayed when users type help /// string Usage { get; } /// /// true if the command requre admin, otherwise false /// bool RequireAdmin { get; } /// /// The main body of the command. This is what is executed when user calls the command in Server /// /// The Discord Context Task ExecuteServer(IDbCommandExecutingArgument args) => Task.CompletedTask; /// /// The main body of the command. This is what is executed when user calls the command in DM /// /// The Discord Context Task ExecuteDm(IDbCommandExecutingArgument args) => Task.CompletedTask; }