using System.Collections.Generic; using PluginManager.Others; namespace PluginManager.Interfaces; public interface DBCommand { /// /// 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 disocrd Context void ExecuteServer(DBCommandExecutingArguments args) { } /// /// The main body of the command. This is what is executed when user calls the command in DM /// /// The disocrd Context void ExecuteDM(DBCommandExecutingArguments args) { } }