baumsplitter41 3 өдөр өмнө
parent
commit
5b633717b9

+ 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
 ## 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")
         enable_search = config.getboolean("Matesearch","enable_search_mates")
         if not enable_search:
         if not enable_search:
             return
             return