mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-19 07:20:00 +00:00
18 lines
545 B
TypeScript
18 lines
545 B
TypeScript
![]() |
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||
|
import { slowmodeCmd } from "../types";
|
||
|
import { actualDisableSlowmodeCmd } from "../util/actualDisableSlowmodeCmd";
|
||
|
|
||
|
export const SlowmodeDisableCmd = slowmodeCmd({
|
||
|
trigger: ["slowmode disable", "slowmode d"],
|
||
|
permission: "can_manage",
|
||
|
|
||
|
signature: {
|
||
|
channel: ct.textChannel(),
|
||
|
},
|
||
|
|
||
|
async run({ message: msg, args, pluginData }) {
|
||
|
// Workaround until you can call this cmd from SlowmodeSetChannelCmd
|
||
|
actualDisableSlowmodeCmd(msg, args, pluginData);
|
||
|
},
|
||
|
});
|