mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 22:05:01 +00:00
WIP: Note Slash Command
This commit is contained in:
parent
91339bb01e
commit
dfb0e2c19d
29 changed files with 319 additions and 178 deletions
|
@ -2,13 +2,13 @@ import { commandTypeHelpers as ct } from "../../../commandTypes";
|
|||
import { canActOn, sendErrorMessage } from "../../../pluginUtils";
|
||||
import { resolveMember, resolveUser } from "../../../utils";
|
||||
import { actualUnmuteCmd } from "../functions/actualUnmuteUserCmd";
|
||||
import { modActionsCmd } from "../types";
|
||||
import { modActionsMsgCmd } from "../types";
|
||||
|
||||
const opts = {
|
||||
mod: ct.member({ option: true }),
|
||||
};
|
||||
|
||||
export const ForceUnmuteCmd = modActionsCmd({
|
||||
export const ForceUnmuteCmd = modActionsMsgCmd({
|
||||
trigger: "forceunmute",
|
||||
permission: "can_mute",
|
||||
description: "Force-unmute the specified user, even if they're not on the server",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue