diff options
Diffstat (limited to 'discord/message.py')
| -rw-r--r-- | discord/message.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py index 5b4d79cb..a09c2d73 100644 --- a/discord/message.py +++ b/discord/message.py @@ -524,6 +524,14 @@ class Message: call['participants'] = participants self.call = CallMessage(message=self, **call) + def _rebind_channel_reference(self, new_channel): + self.channel = new_channel + + try: + del self._cs_guild + except AttributeError: + pass + @utils.cached_slot_property('_cs_guild') def guild(self): """Optional[:class:`Guild`]: The guild that the message belongs to, if applicable.""" |