3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-19 07:20:00 +00:00
zeppelin/backend/src/plugins/Utility/commands/InfoCmd.ts

21 lines
554 B
TypeScript
Raw Normal View History

2020-07-06 00:53:28 +03:00
import { utilityCmd } from "../types";
import { commandTypeHelpers as ct } from "../../../commandTypes";
import { actualInfoCmd } from "../actualInfoCmd";
2020-07-06 00:53:28 +03:00
export const InfoCmd = utilityCmd({
trigger: "info",
description: "Show basic information about a user",
usage: "!info 106391128718245888",
permission: "can_info",
signature: {
user: ct.resolvedUserLoose({ required: false }),
compact: ct.switchOption({ shortcut: "c" }),
2020-07-06 00:53:28 +03:00
},
async run({ message: msg, args, pluginData }) {
actualInfoCmd(msg, args, pluginData);
2020-07-06 00:53:28 +03:00
},
});