25 lines
633 B
C#
25 lines
633 B
C#
//using System.Threading.Tasks;
|
|
//using DSharpPlus.CommandsNext;
|
|
//using DSharpPlus.CommandsNext.Attributes;
|
|
|
|
//namespace LaDOSE.DiscordBot.Command
|
|
//{
|
|
// [RequireRolesAttribute(RoleCheckMode.Any,"SuperAdmin")]
|
|
// public class Shutdown : BaseCommandModule
|
|
// {
|
|
// private readonly Dependencies dep;
|
|
|
|
// public Shutdown(Dependencies d)
|
|
// {
|
|
// dep = d;
|
|
// }
|
|
|
|
|
|
// [Command("shutdown")]
|
|
// public async Task ShutDownAsync(CommandContext ctx)
|
|
// {
|
|
// await ctx.RespondAsync("Hasta la vista, baby");
|
|
// dep.Cts.Cancel();
|
|
// }
|
|
// }
|
|
//} |