It seems that you are trying to get a channel object using a channel Id. You will need to use the guild.fetch_channel(id=channel_id) instead of get_channel(). You might benefit from doing a bit of reading in the discord.py docs which will most likely hold a lot of the answers you might be looking for.