Skip to content

Commit

Permalink
refactor: full stop in previous comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Nov 25, 2023
1 parent 80196ea commit f4842a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/creating-your-bot/main-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { token } = require('./config.json');
// Create a new client instance
const client = new Client({ intents: [GatewayIntentBits.Guilds] });

// When the client is ready, run this code (only once)
// When the client is ready, run this code (only once).
// The distinction between `client: Client<boolean>` and `readyClient: Client<true>` is important for TypeScript Developers.
// It makes some properties non-nullable.
client.once(Events.ClientReady, readyClient => {
Expand Down

0 comments on commit f4842a2

Please sign in to comment.