mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +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
|
@ -3,7 +3,7 @@ import { SlowmodePluginType } from "../types";
|
|||
import { LogType } from "src/data/LogType";
|
||||
import { logger } from "src/logger";
|
||||
import { GuildChannel, TextChannel } from "eris";
|
||||
import { UnknownUser, stripObjectToScalars } from "src/utils";
|
||||
import { stripObjectToScalars, UnknownUser } from "src/utils";
|
||||
import { clearBotSlowmodeFromUserId } from "./clearBotSlowmodeFromUserId";
|
||||
|
||||
export async function clearExpiredSlowmodes(pluginData: PluginData<SlowmodePluginType>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue