From f9ae7c003bb6a34c2c539a022de7d133b97ba84a Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Fri, 3 Feb 2023 23:46:19 -0600 Subject: [PATCH] docs: clarify example --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 2cc8b36..66f0153 100644 --- a/README.md +++ b/README.md @@ -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)`