2020-07-06 00:53:28 +03:00
|
|
|
import { utilityCmd } from "../types";
|
2020-07-06 01:51:48 +03:00
|
|
|
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
2020-07-29 02:21:22 +02:00
|
|
|
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 }),
|
|
|
|
|
2020-07-06 03:05:40 +03:00
|
|
|
compact: ct.switchOption({ shortcut: "c" }),
|
2020-07-06 00:53:28 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
async run({ message: msg, args, pluginData }) {
|
2020-07-29 02:21:22 +02:00
|
|
|
actualInfoCmd(msg, args, pluginData);
|
2020-07-06 00:53:28 +03:00
|
|
|
},
|
|
|
|
});
|