mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
apikey
This commit is contained in:
parent
a88e008b0f
commit
f27ac05826
@ -36,10 +36,6 @@ class Search():
|
||||
self.valid_api[search_api]["apikey"] = None
|
||||
self.valid_api[search_api]["cache"] = dict()
|
||||
|
||||
apikey = eval("botconfig." + search_api + ".apikey")
|
||||
if apikey:
|
||||
self.valid_api[search_api]["apikey"] = apikey
|
||||
|
||||
self.valid_api[search_api]["comtype"] = "search_prefix"
|
||||
self.valid_api[search_api]["validcoms"] = [self.valid_api[search_api]["filename"]]
|
||||
botcommands.register(self.valid_api[search_api])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user