def _rebind_cached_references(self, new_guild: Guild, new_channel: Union[(TextChannel, Thread)]) -> None:
    self.guild = new_guild
    self.channel = new_channel
def _rebind_cached_references(self, new_guild: Guild, new_channel: Union[(TextChannel, Thread)]) -> None:
    self.guild = new_guild
    self.channel = new_channel