mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
dires
This commit is contained in:
parent
2647b2a522
commit
54f66a7ecb
@ -24,6 +24,7 @@ class Search():
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.header = {'User-Agent': str(UserAgent().chrome)}
|
self.header = {'User-Agent': str(UserAgent().chrome)}
|
||||||
self.setup_search()
|
self.setup_search()
|
||||||
|
self.dir_to_scan = botread.get_config_dirs("SpiceBot_Search")
|
||||||
valid_search_api_dict = botread.json_to_dict_simple(self.dir_to_scan, "Search API", "SpiceBot_Search")
|
valid_search_api_dict = botread.json_to_dict_simple(self.dir_to_scan, "Search API", "SpiceBot_Search")
|
||||||
|
|
||||||
self.cache = {}
|
self.cache = {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user