diff --git a/disco/gateway/events.py b/disco/gateway/events.py index f2da195..3822e13 100644 --- a/disco/gateway/events.py +++ b/disco/gateway/events.py @@ -64,8 +64,9 @@ class GatewayEvent(six.with_metaclass(GatewayEventMeta, Model)): return cls(obj, client) def __getattr__(self, name): - if hasattr(self, '_proxy'): - return getattr(getattr(self, self._proxy), name) + _proxy = object.__getattr__(self, '_proxy', None) + if _proxy: + return getattr(_proxy, name) return object.__getattribute__(self, name)