3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Fix slowmodes longer than 6h

This commit is contained in:
Miikka 2019-04-15 14:01:49 +03:00 committed by GitHub
parent 3643c319d4
commit 160c31baf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ import { ZeppelinPlugin } from "./ZeppelinPlugin";
import { SavedMessage } from "../data/entities/SavedMessage";
import { GuildSavedMessages } from "../data/GuildSavedMessages";
const NATIVE_SLOWMODE_LIMIT = 6 * 60 * 60 * 1000; // 6 hours
const NATIVE_SLOWMODE_LIMIT = 6 * 60 * 60; // 6 hours
interface ISlowmodePluginConfig {
use_native_slowmode: boolean;