mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
RETURN
This commit is contained in:
parent
56d502098e
commit
fa30a91a11
@ -46,6 +46,8 @@ class BotConfig():
|
||||
return eval("self.config.core." + name)
|
||||
elif name.lower() in self.dict["core"].keys():
|
||||
return self.dict["core"][str(name).lower()]
|
||||
elif hasattr(self.config, name):
|
||||
return eval("self.config." + name)
|
||||
else:
|
||||
stderr(str(name))
|
||||
return None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user