mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Update to new Knub 30 beta. Code clean-up.
This commit is contained in:
parent
5d579446c5
commit
2f470dc37a
299 changed files with 1075 additions and 1004 deletions
|
@ -1,7 +1,7 @@
|
|||
import { modActionsCommand } from "../types";
|
||||
import { modActionsCmd } from "../types";
|
||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { sendErrorMessage } from "../../../pluginUtils";
|
||||
import { trimLines, createChunkedMessage, emptyEmbedValue, sorter } from "src/utils";
|
||||
import { trimLines, createChunkedMessage, emptyEmbedValue, sorter } from "../../../utils";
|
||||
import { CasesPlugin } from "../../Cases/CasesPlugin";
|
||||
import { asyncMap } from "../../../utils/async";
|
||||
import { EmbedOptions } from "eris";
|
||||
|
@ -13,7 +13,7 @@ const opts = {
|
|||
mod: ct.member({ option: true }),
|
||||
};
|
||||
|
||||
export const CasesModCmd = modActionsCommand({
|
||||
export const CasesModCmd = modActionsCmd({
|
||||
trigger: "cases",
|
||||
permission: "can_view",
|
||||
description: "Show the most recent 5 cases by the specified -mod",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue