Fixed .prune @Target not working bug

This commit is contained in:
Kwoth
2022-10-25 02:07:05 +02:00
parent 9d9e61fdfb
commit f5f0f1e250
2 changed files with 4 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ public partial class Administration
[BotPerm(ChannelPerm.ManageMessages)]
[NadekoOptions(typeof(PruneOptions))]
[Priority(0)]
public Task Prune(IGuildUser user, int count = 100, string args = null)
public Task Prune(IGuildUser user, int count = 100, params string[] args)
=> Prune(user.Id, count, args);
//prune userid [x]