wolfcountBot/index.js

29 lines
834 B
JavaScript
Raw Normal View History

2023-04-28 07:48:43 -04:00
require("dotenv").config();
2023-05-24 04:31:35 -04:00
const { Client, Collection, Options } = require("discord.js");
2023-04-28 07:48:43 -04:00
2023-05-24 04:31:35 -04:00
const client = new Client({
intents: 34305,
makeCache: Options.cacheWithLimits({MessageManager: 0})
// sweepers: {
// ...Options.DefaultSweeperSettings,
// messages: {
// interval: 120, // Every 2 minutes...
// lifetime: 600, // Remove messages older then 10 minutes.
// },
// },
});
2023-04-28 07:48:43 -04:00
module.exports = client;
// Global Variables
client.commands = new Collection();
client.slashCommands = new Collection();
2023-05-24 04:31:35 -04:00
console.clear();
console.log('');
console.log(`Welcome to the console of wolfcount /--/ By Ultimateplayer1999 /--/ Discord: ultimateplayer#0369`);
2023-04-28 07:48:43 -04:00
// Initializing the project
require("./handler")(client);
client.login(process.env.TOKEN);