mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
chore(readme): clarify the use of ES modules in readme examples (#10934)
* chore(readme): clarify the use of ES modules in readme examples resolves #10932 * fix: revert api extractor readme changes
This commit is contained in:
@@ -56,6 +56,8 @@ pnpm add discord.js
|
||||
bun add discord.js
|
||||
```
|
||||
|
||||
These examples use [ES modules](https://nodejs.org/api/esm.html#enabling).
|
||||
|
||||
Register a slash command against the Discord API:
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user