Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
last one, if this thing not work, i need to refresh new token
  • Loading branch information
nurjavier8789 committed Aug 14, 2024
1 parent 3846564 commit 63fa265
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const discord = require('discord.js');
const client = new discord.Client({ partials: ["MESSAGE", "CHANNEL", "REACTION"] });
const KeepAlive = require('./server.js')
let dateformat = require('dateformat')
require('dotenv').config()
const mySecret = process.env.TOKEN
// require('dotenv').config()
// const mySecret = process.env.TOKEN

const moment = require('moment')

Expand Down Expand Up @@ -278,4 +278,4 @@ client.on('message', async message => {

KeepAlive()

client.login(mySecret);
client.login("NzU1MzYyOTEyMDU4NjA1NjQ5.GD9AD4.Jnjzw7G3BeQV0_2LJtuEV4q-MQeXzLgea5LV40");

0 comments on commit 63fa265

Please sign in to comment.