From 160c31baf7a0cdcf539e94913bb587dae6e92e25 Mon Sep 17 00:00:00 2001 From: Miikka Date: Mon, 15 Apr 2019 14:01:49 +0300 Subject: [PATCH] Fix slowmodes longer than 6h --- src/plugins/Slowmode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/Slowmode.ts b/src/plugins/Slowmode.ts index 553493b7..196e6944 100644 --- a/src/plugins/Slowmode.ts +++ b/src/plugins/Slowmode.ts @@ -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;