diff --git a/TrickFireDiscordBot/Services/Discord/Commands.cs b/TrickFireDiscordBot/Services/Discord/Commands.cs index 0628498..054f603 100644 --- a/TrickFireDiscordBot/Services/Discord/Commands.cs +++ b/TrickFireDiscordBot/Services/Discord/Commands.cs @@ -90,6 +90,16 @@ public static async Task ResyncAllRoles( await context.RespondAsync("Finished"); } + [Command("checkoutall")] + [Description("Checks out all members that are checked in")] + [InteractionAllowedContexts(DiscordInteractionContextType.Guild)] + [RequirePermissions([], [DiscordPermission.ManageGuild])] + public static async Task CheckoutAll(SlashCommandContext context) + { + context.ServiceProvider.GetRequiredService().Members.Clear(); + await context.RespondAsync("Finished"); + } + [Command("checkinout")] [Description("Checks you into/out of the shop and updates the member list")] [InteractionAllowedContexts(DiscordInteractionContextType.Guild)]