title: Discord.py how to pin a message in a channel?
body: <p>I'm trying using that code:</p>
  
  <pre><code>Message= await ctx.send("Message to pin")
  await pin_message(Message)
  </code></pre>
  
  <p>But it gives me that error:</p>
  
  <pre><code>NameError: name 'pin_message' is not defined
  </code></pre>
  
  <p>Thank you for any answer.</p>