<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def move_to(self, channel: discord.VoiceChannel):
 """ Moves this player to a voice channel. Parameters channel : discord.VoiceChannel """

        if channel.guild != self.channel.guild:
            raise TypeError("Cannot move to a different guild.")

        self.channel = channel
        await self.connect()