Fixed some text and added some missing texts to commands. Added new command to clear screen and formated code.
This commit is contained in:
@@ -47,4 +47,4 @@ public interface DBCommand
|
||||
void ExecuteDM(DBCommandExecutingArguments args)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,4 @@ public interface DBEvent
|
||||
/// </summary>
|
||||
/// <param name="client">The discord bot client</param>
|
||||
void Start(DiscordSocketClient client);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,25 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Discord;
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace PluginManager.Interfaces
|
||||
namespace PluginManager.Interfaces;
|
||||
|
||||
public interface DBSlashCommand
|
||||
{
|
||||
public interface DBSlashCommand
|
||||
string Name { get; }
|
||||
string Description { get; }
|
||||
|
||||
bool canUseDM { get; }
|
||||
|
||||
List<SlashCommandOptionBuilder> Options { get; }
|
||||
|
||||
void ExecuteServer(SocketSlashCommand context)
|
||||
{
|
||||
string Name { get; }
|
||||
string Description { get; }
|
||||
|
||||
bool canUseDM { get; }
|
||||
|
||||
List<SlashCommandOptionBuilder> Options { get; }
|
||||
|
||||
void ExecuteServer(SocketSlashCommand context)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ExecuteDM(SocketSlashCommand context) { }
|
||||
|
||||
}
|
||||
|
||||
void ExecuteDM(SocketSlashCommand context) { }
|
||||
}
|
||||
|
||||
@@ -1,23 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using PluginManager.Others;
|
||||
|
||||
namespace PluginManager.Interfaces
|
||||
namespace PluginManager.Interfaces;
|
||||
|
||||
public interface ICommandAction
|
||||
{
|
||||
public interface ICommandAction
|
||||
{
|
||||
public string ActionName { get; }
|
||||
public string ActionName { get; }
|
||||
|
||||
public string? Description { get; }
|
||||
public string? Description { get; }
|
||||
|
||||
public string? Usage { get; }
|
||||
public string? Usage { get; }
|
||||
|
||||
public InternalActionRunType RunType { get; }
|
||||
public InternalActionRunType RunType { get; }
|
||||
|
||||
public Task Execute(string[]? args);
|
||||
|
||||
}
|
||||
}
|
||||
public Task Execute(string[]? args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user