mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
Formatting and initial ButtonRoles DB work
This commit is contained in:
parent
6ac9d2f2a2
commit
5efdf5ce95
108 changed files with 253 additions and 303 deletions
|
@ -9,7 +9,6 @@ import { getGuildPrefix } from "../../../utils/getGuildPrefix";
|
|||
import { CasesPlugin } from "../../Cases/CasesPlugin";
|
||||
import { modActionsCmd } from "../types";
|
||||
|
||||
|
||||
const opts = {
|
||||
mod: ct.userId({ option: true }),
|
||||
};
|
||||
|
|
|
@ -3,15 +3,12 @@ import { commandTypeHelpers as ct } from "../../../commandTypes";
|
|||
import { CaseTypes } from "../../../data/CaseTypes";
|
||||
import { CasesPlugin } from "../../../plugins/Cases/CasesPlugin";
|
||||
import { sendErrorMessage } from "../../../pluginUtils";
|
||||
import {
|
||||
chunkArray, emptyEmbedValue, resolveUser, trimLines, UnknownUser
|
||||
} from "../../../utils";
|
||||
import { chunkArray, emptyEmbedValue, resolveUser, trimLines, UnknownUser } from "../../../utils";
|
||||
import { asyncMap } from "../../../utils/async";
|
||||
import { getChunkedEmbedFields } from "../../../utils/getChunkedEmbedFields";
|
||||
import { getGuildPrefix } from "../../../utils/getGuildPrefix";
|
||||
import { modActionsCmd } from "../types";
|
||||
|
||||
|
||||
const opts = {
|
||||
expand: ct.bool({ option: true, isSwitch: true, shortcut: "e" }),
|
||||
hidden: ct.bool({ option: true, isSwitch: true, shortcut: "h" }),
|
||||
|
|
|
@ -10,7 +10,6 @@ import { LogsPlugin } from "../../Logs/LogsPlugin";
|
|||
import { TimeAndDatePlugin } from "../../TimeAndDate/TimeAndDatePlugin";
|
||||
import { modActionsCmd } from "../types";
|
||||
|
||||
|
||||
export const DeleteCaseCmd = modActionsCmd({
|
||||
trigger: ["delete_case", "deletecase"],
|
||||
permission: "can_deletecase",
|
||||
|
|
|
@ -12,7 +12,6 @@ import { formatReasonWithAttachments } from "../functions/formatReasonWithAttach
|
|||
import { ignoreEvent } from "../functions/ignoreEvent";
|
||||
import { IgnoredEventType, modActionsCmd } from "../types";
|
||||
|
||||
|
||||
export const MassbanCmd = modActionsCmd({
|
||||
trigger: "massban",
|
||||
permission: "can_massban",
|
||||
|
|
|
@ -11,7 +11,6 @@ import { ignoreEvent } from "../functions/ignoreEvent";
|
|||
import { isBanned } from "../functions/isBanned";
|
||||
import { IgnoredEventType, modActionsCmd } from "../types";
|
||||
|
||||
|
||||
export const MassunbanCmd = modActionsCmd({
|
||||
trigger: "massunban",
|
||||
permission: "can_massunban",
|
||||
|
|
|
@ -9,7 +9,6 @@ import { stripObjectToScalars } from "../../../utils";
|
|||
import { formatReasonWithAttachments } from "../functions/formatReasonWithAttachments";
|
||||
import { modActionsCmd } from "../types";
|
||||
|
||||
|
||||
export const MassmuteCmd = modActionsCmd({
|
||||
trigger: "massmute",
|
||||
permission: "can_massmute",
|
||||
|
|
|
@ -6,7 +6,6 @@ import { actualMuteUserCmd } from "../functions/actualMuteUserCmd";
|
|||
import { isBanned } from "../functions/isBanned";
|
||||
import { modActionsCmd } from "../types";
|
||||
|
||||
|
||||
const opts = {
|
||||
mod: ct.member({ option: true }),
|
||||
notify: ct.string({ option: true }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue