From 00619fc6cd69feb3527a415241eaf020788ba881 Mon Sep 17 00:00:00 2001 From: iDutchy Date: Tue, 13 Jul 2021 19:58:09 -0500 Subject: [PATCH] Making progress, almost there... --- discord/guild.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/discord/guild.py b/discord/guild.py index f38291fd..1ba740e1 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -191,7 +191,11 @@ class Guild(Hashable): self._from_data(data) if state.shortcuts: for name, config in state.shortcuts.items(): - setattr(self, name, config.get(self.id)) + if name in self.__slots__: + continue + else: + self.__slots__ += (name,) + setattr(self, name, config.get(self.id)) def _add_channel(self, channel): self._channels[channel.id] = channel