From 6b86b2414817da0bb75860210b8f4d1246d69858 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 15 Sep 2023 01:55:16 +0300 Subject: [PATCH] better staging support --- files/helpers/config/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index d168d54d8..26f87964a 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -670,7 +670,7 @@ BADGE_BLACKLIST = { # only grantable by admins higher than PERMS['IGNORE_BADGE_B NOTIFIED_USERS = {} -if SITE == 'rdrama.net': +if SITE in {'rdrama.net', 'staging.rdrama.net'}: NOTIFICATION_SPAM_AGE_THRESHOLD = 0.5 * 86400 TELEGRAM_ID = "rdramanet"