Skip to content

Commit

Permalink
refactor: do not capitalise developers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Nov 26, 2023
1 parent f4842a2 commit d02d9eb
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 @@ -17,7 +17,7 @@ const { token } = require('./config.json');
const client = new Client({ intents: [GatewayIntentBits.Guilds] });

// 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.
// 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 => {
console.log(`Ready! Logged in as ${readyClient.user.tag}`);
Expand Down

0 comments on commit d02d9eb

Please sign in to comment.