Skip to content

Commit

Permalink
docs: clarify example
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes authored Feb 4, 2023
1 parent ec211d5 commit f9ae7c0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ const { Client, GatewayIntentBits } = require('discord.js');
// Import Sern namespace
const { Sern } = require('@sern/handler');

// Our configuration file
const { defaultPrefix, token } = require('./config.json');

const client = new Client({
intents: [
GatewayIntentBits.Guilds,
Expand All @@ -80,7 +77,7 @@ Sern.init({
}
});

client.login(token);
client.login("YOUR_BOT_TOKEN_HERE");
```

#### ` ping.js (CommonJS)`
Expand Down

0 comments on commit f9ae7c0

Please sign in to comment.