removed token :)

This commit is contained in:
DJj123dj
2022-05-02 11:13:18 +02:00
parent af8d6351af
commit 943e7b6fef
5 changed files with 22 additions and 87 deletions
+7 -1
View File
@@ -1,11 +1,17 @@
const discord = require('discord.js')
const config = require('./config.json')
const intents = discord.Intents
const client = new discord.Client({intents:[intents.FLAGS.GUILDS,intents.FLAGS.GUILD_MESSAGES,intents.FLAGS.GUILD_MEMBERS],partials:["CHANNEL"]})
exports.client = client
client.setMaxListeners(20)
//change to FALSE on release
const isDev = true
//!!!!!!!!!!!
if (isDev){const config = require('./devConfig.json')}else{const config = require('./config.json')}
exports.config = config
client.on('ready',async () => {
const chalk = await (await import("chalk")).default
if (process.argv[2] != "slash"){