Skip to content

Commit

Permalink
fix: syntax highlighting on code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Dec 19, 2024
1 parent 817e41b commit 261831b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guide/additional-info/updating-from-v14.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand All @@ -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();
Expand Down

0 comments on commit 261831b

Please sign in to comment.