This commit is contained in:
deathbybandaid 2022-02-09 12:59:26 -05:00
parent 45bbf363d3
commit f53f62e80c

View File

@ -6,3 +6,11 @@ class SpiceBotCore_OBJ():
self.script_dir = None
self.increment = 1
self.bot = None
def __getattr__(self, name):
"""
Quick and dirty shortcuts. Will only get called for undefined attributes.
"""
if hasattr(self.fhdhr, name):
return eval("self.fhdhr.%s" % name)