Skip to content

Commit 97c280f

Browse files
committed
updated private static.json
1 parent a1da363 commit 97c280f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/bot/bot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const client = new Client({
3131

3232
const { loadEvents } = require('./Handlers/eventHandler.js');
3333

34-
client.config = require('../../config/bot.json');
34+
client.config = require('../../config/static.json');
3535
client.events = new Collection();
3636
client.commands = new Collection();
3737
client.subCommands = new Collection();
@@ -48,7 +48,7 @@ require('./Handlers/crashHandler.js')(client);
4848
// });
4949

5050
client
51-
.login(client.config.Token)
51+
.login(client.config['BOT-TOKEN'])
5252
.then(() => {
5353
log(
5454
chalk.bgMagentaBright.bold(' CLIENT '),

src/server/client/Discord/OAuth2/handle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
* @param {import("express").Request} req
88
* @param {import("express").Response} res
99
* @param {import('../../../../../config/web.json')} web
10-
* @param {import('../../../../../config/bot.json')} bot
10+
* @param {import('../../../../../config/static.json')} bot
1111
*/
1212
async run(req, res, web, bot) {
1313
const { code, state } = req.query;

src/server/client/Discord/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
* @param {import("express").Request} req
77
* @param {import("express").Response} res
88
* @param {import('../../../../config/web.json')} web
9-
* @param {import('../../../../config/bot.json')} bot
9+
* @param {import('../../../../config/static.json')} bot
1010
*/
1111
run(req, res, web, bot) {
1212
if (req.signedCookies.state) res.clearCookie('stateParam');

0 commit comments

Comments
 (0)