Selaa lähdekoodia

Removed Spamwatch

TheHamkerCat 5 vuotta sitten
vanhempi
sitoutus
7bfefcb170
2 muutettua tiedostoa jossa 0 lisäystä ja 6 poistoa
  1. 0 4
      app.json
  2. 0 2
      sample_config.py

+ 0 - 4
app.json

@@ -70,10 +70,6 @@
         "MESSAGE_DUMP_CHAT": {
             "description": "Chat_id of the group where useless things will go",
             "required": true
-        },
-        "SPAMWATCH_API_KEY": {
-            "description": "Get this from @SpamWatchBot",
-            "required": true
         }
     }
 }

+ 0 - 2
sample_config.py

@@ -14,7 +14,6 @@ if HEROKU:
     FERNET_ENCRYPTION_KEY = environ.get("FERNET_ENCRYPTION_KEY", None)
     WELCOME_DELAY_KICK_SEC = int(environ.get("WELCOME_DELAY_KICK_SEC", None))
     MONGO_DB_URI = environ.get("MONGO_DB_URI", None)
-    SPAMWATCH_API_KEY = environ.get("SPAMWATCH_API_KEY", None)
     ARQ_API_BASE_URL = environ.get("ARQ_API_BASE_URL", None)
 
 else:
@@ -30,6 +29,5 @@ else:
     FERNET_ENCRYPTION_KEY = "iKMq0WZMnJKjMQxZWKtv-cplMuF_LoyshXj0XbTGGWM=" # Leave this as it is
     WELCOME_DELAY_KICK_SEC = 300
     MONGO_DB_URI = "mongodb+srv://username:password@cluster0.ksiis.mongodb.net/YourDataBaseName?retryWrites=true&w=majority"
-    SPAMWATCH_API_KEY = "Get this from @SpamWatchBot"
     # NOTE Don't make changes below this line
     ARQ_API_BASE_URL = "http://thearq.tech"