mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 09:35:02 +00:00
slowmode: fix bot slowmodes not being applied for slowmodes over 6h; add -mode option; add eager permission checks
This commit is contained in:
parent
6f4955b83b
commit
7595baf945
12 changed files with 227 additions and 110 deletions
|
@ -1,8 +1,5 @@
|
|||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||
import { sendErrorMessage, sendSuccessMessage } from "src/pluginUtils";
|
||||
import { slowmodeCmd } from "../types";
|
||||
import { disableBotSlowmodeForChannel } from "../util/disableBotSlowmodeForChannel";
|
||||
import { noop } from "src/utils";
|
||||
import { actualDisableSlowmodeCmd } from "../util/actualDisableSlowmodeCmd";
|
||||
|
||||
export const SlowmodeDisableCmd = slowmodeCmd({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue