Skip to content

Commit d90a500

Browse files
committed
fix: syntax highlighting on code blocks
1 parent e559b97 commit d90a500

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guide/additional-info/updating-from-v14.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Removed `Guild#shard` as WebSocket shards are now handled by @discordjs/ws.
155155

156156
Previously, you would respond to an interaction ephemerally like so:
157157

158-
```JavaScript
158+
```js
159159
// Way 1:
160160
await interaction.reply({ content: 'This is an ephemeral response.', ephemeral: true });
161161

@@ -169,7 +169,7 @@ There are two ways to achieve the same behaviour, so the "helper" option has bee
169169

170170
Discord no longer supports the `PREMIUM_REQUIRED` interaction response type. In the past, you would have done this:
171171

172-
```JavaScript
172+
```js
173173
if (!premiumLogicCheck) {
174174
// User does not have access to our premium features.
175175
await interaction.sendPremiumRequired();

0 commit comments

Comments
 (0)