docs: clarify example

This commit is contained in:
Jacob Nguyen
2023-02-03 23:46:19 -06:00
committed by GitHub
parent ec211d5a8d
commit f9ae7c003b

View File

@@ -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,
@@ -80,7 +77,7 @@ Sern.init({
}
});
client.login(token);
client.login("YOUR_BOT_TOKEN_HERE");
```
#### ` ping.js (CommonJS)`