3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25: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:
Dragory 2020-08-09 16:58:36 +03:00
parent 805e275f5b
commit bb823b6274
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
12 changed files with 227 additions and 110 deletions

View file

@ -1,7 +1,7 @@
import { SlowmodePluginType } from "../types";
import { PluginData } from "knub";
import { GuildChannel, TextChannel, Constants } from "eris";
import { UnknownUser, isDiscordRESTError, stripObjectToScalars } from "src/utils";
import { Constants, GuildChannel, TextChannel } from "eris";
import { isDiscordRESTError, stripObjectToScalars, UnknownUser } from "src/utils";
import { LogType } from "src/data/LogType";
import { logger } from "src/logger";