mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +00:00
Allow mentions in "!clean user"; fix some clean command bugs
This commit is contained in:
parent
9687359105
commit
22c515be38
2 changed files with 6 additions and 2 deletions
|
@ -178,7 +178,7 @@ export class UtilityPlugin extends Plugin {
|
|||
}, CLEAN_COMMAND_DELETE_DELAY);
|
||||
}
|
||||
|
||||
@d.command("clean user", "<userId:string> <count:number>")
|
||||
@d.command("clean user", "<userId:userid> <count:number>")
|
||||
@d.permission("clean")
|
||||
async cleanUserCmd(msg: Message, args: { userId: string; count: number }) {
|
||||
if (args.count > MAX_CLEAN_COUNT || args.count <= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue