Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

Commit 32ffec9

Browse files
babofitosJiralite
andauthored
fix(command-handling): Add MessageFlags to base template (#1618)
Co-authored-by: Jiralite <[email protected]>
1 parent 9d4454e commit 32ffec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/creating-your-bot/command-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In your `index.js` file, make these additions to the base template:
2323
```js {1-3,8}
2424
const fs = require('node:fs');
2525
const path = require('node:path');
26-
const { Client, Collection, Events, GatewayIntentBits } = require('discord.js');
26+
const { Client, Collection, Events, GatewayIntentBits, MessageFlags } = require('discord.js');
2727
const { token } = require('./config.json');
2828

2929
const client = new Client({ intents: [GatewayIntentBits.Guilds] });

0 commit comments

Comments
 (0)