mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-19 08:05:01 +00:00
Use commandTypeHelpers instead of baseTypeHelpers
This commit is contained in:
parent
b7042c1af4
commit
4fc0ce1de5
5 changed files with 26 additions and 28 deletions
|
@ -1,5 +1,4 @@
|
|||
import { utilityCmd } from "../types";
|
||||
import { baseTypeHelpers as t } from "knub";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { embedPadding, resolveMember, trimLines, UnknownUser } from "../../../utils";
|
||||
import { EmbedOptions, GuildTextableChannel } from "eris";
|
||||
|
@ -16,7 +15,7 @@ export const InfoCmd = utilityCmd({
|
|||
signature: {
|
||||
user: ct.resolvedUserLoose({ required: false }),
|
||||
|
||||
compact: t.switchOption({ shortcut: "c" }),
|
||||
compact: ct.switchOption({ shortcut: "c" }),
|
||||
},
|
||||
|
||||
async run({ message: msg, args, pluginData }) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue