mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-22 09:15:03 +00:00
Use blueprint directly for commands for clarity
This commit is contained in:
parent
7ff2a47526
commit
6cc7d91b4c
4 changed files with 34 additions and 40 deletions
|
@ -1,12 +1,14 @@
|
|||
import { utilityCmd } from "../types";
|
||||
import { baseTypeHelpers as t } from "knub";
|
||||
|
||||
export const SearchCmd = utilityCmd(
|
||||
["search", "s"],
|
||||
{
|
||||
export const SearchCmd = utilityCmd({
|
||||
trigger: ["search", "s"],
|
||||
|
||||
signature: {
|
||||
query: t.string({ catchAll: true }),
|
||||
},
|
||||
|
||||
run() {
|
||||
|
||||
},
|
||||
{},
|
||||
() => {}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue