mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-13 21:35:02 +00:00
19 lines
548 B
TypeScript
19 lines
548 B
TypeScript
import { commandTypeHelpers as ct } from "../../../../commandTypes";
|
|
import { actualMassBanCmd } from "../../functions/actualCommands/actualMassBanCmd";
|
|
import { modActionsMsgCmd } from "../../types";
|
|
|
|
export const MassBanMsgCmd = modActionsMsgCmd({
|
|
trigger: "massban",
|
|
permission: "can_massban",
|
|
description: "Mass-ban a list of user IDs",
|
|
|
|
signature: [
|
|
{
|
|
userIds: ct.string({ rest: true }),
|
|
},
|
|
],
|
|
|
|
async run({ pluginData, message: msg, args }) {
|
|
actualMassBanCmd(pluginData, msg, args.userIds, msg.member);
|
|
},
|
|
});
|