This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
OctobotStealth/Boyfriend/Commands/Command.cs

18 lines
482 B
C#
Raw Normal View History

using Discord;
using Discord.Commands;
namespace Boyfriend.Commands;
public abstract class Command {
public abstract Task Run(SocketCommandContext context, string[] args);
public abstract List<string> GetAliases();
public abstract int GetArgumentsAmountRequired();
public abstract string GetSummary();
protected static async Task Warn(ITextChannel? channel, string warning) {
await Utils.SilentSendAsync(channel, ":warning: " + warning);
}
}