trop de truc pour tout ecrire

This commit is contained in:
VALOU3336
2024-02-29 18:57:43 +01:00
parent b1768e24bd
commit af836f4c1e
43 changed files with 2902 additions and 119 deletions
+11 -1
View File
@@ -3,10 +3,20 @@ const { Client, IntentsBitField, Collection } = require("discord.js");
const loadCommands = require("./loaders/loadCommands");
const loadEvents = require("./loaders/loadEvents");
const client = new Client({intents: new IntentsBitField(3276799)});
const { GiveawaysManager } = require('discord-giveaways');
client.events = new Collection();
client.commands = new Collection();
client.giveawaysManager = new GiveawaysManager(client, {
storage: './giveaways.json',
updateCountdownEvery: 5000,
default: {
botsCanWin: false,
exemptPermissions: [],
embedColor: '#FF0000',
reaction: '🎉'
}
});
(async () => {
loadCommands(client);
loadEvents(client);