mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
hmmmm
This commit is contained in:
parent
1d85859124
commit
acf1f8ebe5
@ -36,7 +36,7 @@ class BotGif():
|
||||
|
||||
self.dir_to_scan = botread.get_config_dirs("SpiceBot_Gif")
|
||||
|
||||
valid_gif_api_dict = botread.json_to_dict(self.dir_to_scan, "Gif API", "SpiceBot_Gif")
|
||||
valid_gif_api_dict = botread.json_to_dict_simple(self.dir_to_scan, "Gif API", "SpiceBot_Gif")
|
||||
|
||||
"""
|
||||
15:02 <+Exirel> `channel_section = getattr(bot.config, 'channel', None)`
|
||||
|
||||
@ -25,7 +25,7 @@ class Search():
|
||||
self.header = {'User-Agent': str(UserAgent().chrome)}
|
||||
self.setup_search()
|
||||
self.dir_to_scan = botread.get_config_dirs("SpiceBot_Search")
|
||||
valid_search_api_dict = botread.json_to_dict(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.valid_api = {}
|
||||
|
||||
self.cache = {}
|
||||
|
||||
@ -25,7 +25,7 @@ class Sherlock():
|
||||
|
||||
dir_to_scan = botread.get_config_dirs("SpiceBot_Sherlock")
|
||||
|
||||
valid_usernames_dict = botread.json_to_dict(dir_to_scan, "Sherlock", "SpiceBot_Sherlock")
|
||||
valid_usernames_dict = botread.json_to_dict_simple(dir_to_scan, "Sherlock", "SpiceBot_Sherlock")
|
||||
|
||||
for social_network in list(valid_usernames_dict.keys()):
|
||||
self.dict[social_network] = valid_usernames_dict[social_network]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user