From 261831bd4e2ed4625f48240f48eaf906bc17114d Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Thu, 19 Dec 2024 00:25:31 +0000 Subject: [PATCH] fix: syntax highlighting on code blocks --- guide/additional-info/updating-from-v14.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/additional-info/updating-from-v14.md b/guide/additional-info/updating-from-v14.md index bdd5df3e8..2fb4b3d46 100644 --- a/guide/additional-info/updating-from-v14.md +++ b/guide/additional-info/updating-from-v14.md @@ -155,7 +155,7 @@ Removed `Guild#shard` as WebSocket shards are now handled by @discordjs/ws. Previously, you would respond to an interaction ephemerally like so: -```JavaScript +```js // Way 1: await interaction.reply({ content: 'This is an ephemeral response.', ephemeral: true }); @@ -169,7 +169,7 @@ There are two ways to achieve the same behaviour, so the "helper" option has bee Discord no longer supports the `PREMIUM_REQUIRED` interaction response type. In the past, you would have done this: -```JavaScript +```js if (!premiumLogicCheck) { // User does not have access to our premium features. await interaction.sendPremiumRequired();