TheHamkerCat há 5 anos atrás
pai
commit
e441b19861
4 ficheiros alterados com 0 adições e 8 exclusões
  1. 0 4
      app.json
  2. 0 2
      sample_config.py
  3. 0 1
      wbb/__init__.py
  4. 0 1
      wbb/modules/regex.py

+ 0 - 4
app.json

@@ -67,10 +67,6 @@
             "value": "https://thearq.tech",
             "required": true
         },
-        "IMGBB_API_KEY": {
-            "description": "Get From Here. https://api.imgbb.com/",
-            "required": true
-        },
         "MESSAGE_DUMP_CHAT": {
             "description": "Chat_id of the group where useless things will go",
             "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)
-    IMGBB_API_KEY = environ.get("IMGBB_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"
-    IMGBB_API_KEY = "6as4g35a4g35a4wrg3a5wr4g3ar6g"
     # NOTE Don't make changes below this line
     ARQ_API_BASE_URL = "http://thearq.tech"

+ 0 - 1
wbb/__init__.py

@@ -41,7 +41,6 @@ SUDOERS = SUDO_USERS_ID
 GBAN_LOG_GROUP_ID = GBAN_LOG_GROUP_ID
 FERNET_ENCRYPTION_KEY = FERNET_ENCRYPTION_KEY
 WELCOME_DELAY_KICK_SEC = WELCOME_DELAY_KICK_SEC
-IMGBB_API_KEY = IMGBB_API_KEY
 LOG_GROUP_ID = LOG_GROUP_ID
 MESSAGE_DUMP_CHAT = MESSAGE_DUMP_CHAT
 MOD_LOAD = []

+ 0 - 1
wbb/modules/regex.py

@@ -36,7 +36,6 @@ DELIMITERS = ("/", ":", "|", "_")
 
 
 @app.on_message(filters.regex(r"s([{}]).*?\1.*".format("".join(DELIMITERS))), group=regex_group)
-@capture_err
 async def sed(_, message):
     sed_result = separate_sed(message.text)
     if message.reply_to_message: