This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UtilityModule : ModuleBase | |
{ | |
[Command("purge")] | |
[Alias("clean", "cleanup", "prune")] | |
[Summary("Cleans the bot's messages")] | |
[RequireUserPermission(ChannelPermission.ManageMessages)] | |
public async Task Clean( | |
[Summary("The optional number of messages to delete; defaults to 10")] int count = 10, | |
[Summary("The type of messages to delete - Self, Bot, or All")] DeleteType deleteType = DeleteType.Self, | |
[Summary("The strategy to delete messages - BulkDelete or Manual")] DeleteStrategy deleteStrategy = DeleteStrategy.BulkDelete) |