소스 검색

fixing function error

baumsplitter41 3 일 전
부모
커밋
5b633717b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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