mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
Fix userid/channelid argument types; rename userid/userID to userId for consistency; misc code style fix
This commit is contained in:
parent
5dbc37f8e3
commit
0b2d7bc124
6 changed files with 17 additions and 17 deletions
|
@ -554,7 +554,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
}, CLEAN_COMMAND_DELETE_DELAY);
|
||||
}
|
||||
|
||||
@d.command("clean user", "<userId:userid> <count:number>")
|
||||
@d.command("clean user", "<userId:userId> <count:number>")
|
||||
@d.permission("can_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