Fix !search requiring a query
This commit is contained in:
parent
5ab6c6a72b
commit
3265a2a8da
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { archiveSearch, displaySearch, SearchType } from "../search";
|
|||
|
||||
// Separate from SearchCmd to avoid a circular reference from ./search.ts
|
||||
export const searchCmdSignature = {
|
||||
query: ct.string({ catchAll: true }),
|
||||
query: ct.string({ catchAll: true, required: false }),
|
||||
|
||||
page: ct.number({ option: true, shortcut: "p" }),
|
||||
role: ct.string({ option: true, shortcut: "r" }),
|
||||
|
|
Loading…
Add table
Reference in a new issue