title: How can I add a variable in a code block in a Discord message
body: <p>How can I write a code block (using the discord.js library) in a Discord message like this: </p>
  
  <p><a href="https://i.stack.imgur.com/yANNQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yANNQ.jpg" alt="Message image"></a></p>
  
  <p>I am trying with the variable <code>num</code>, but it still gets recognized as text and doesn't get replaced with the actual value</p>
  
  <pre class="lang-js prettyprint-override"><code>.addField("```change ${num}```");
  </code></pre>