async def desc_task(ctx, channel: discord.TextChannel, *, arg):
get_channel принимает на вход аргумент типа int - ID канала.pass_context в discord.py не существует уже два года.@bot.command()
async def cmd(ctx, channel: discord.TextChannel, *, msg: str):
"""Send msg to channel"""
await channel.send(msg)