mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
docs: clarify example
This commit is contained in:
@@ -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)`
|
||||
|
||||
Reference in New Issue
Block a user