Moved from config json to .env

This commit is contained in:
2023-04-06 21:58:10 +02:00
parent 9d0e1e0d12
commit bf77f8c224
10 changed files with 26 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
const { SlashCommandBuilder } = require('discord.js');
const { hypixelApiKey } = require('../config.json');
const env = require('dotenv').config();
const hypixelApiKey = process.env.HYPIXELAPIKEY;
const fetch = require('axios');
const verify = require('../schemas/verifySchema.js')
const { color, hypixelGuildID } = require('../config/options.json');