Procházet zdrojové kódy

fixing function error

baumsplitter41 před 3 dny
rodič
revize
5b633717b9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      VPD_BOT/cogs/matesearch.py

+ 1 - 1
VPD_BOT/cogs/matesearch.py

@@ -65,7 +65,7 @@ class Matesearch(commands.Cog):
 
 ## Only be able to send if last request is min 20h old
 
-        config = self.Form._load_config()
+        config = self.Form._load_config(self)
         enable_search = config.getboolean("Matesearch","enable_search_mates")
         if not enable_search:
             return