Fixed index.js

This commit is contained in:
Emotion 2023-03-28 22:07:56 +13:00
parent f08471d772
commit 61e8e6af04
No known key found for this signature in database
GPG key ID: 15EBDFF858B9A65A

View file

@ -1,3 +1,5 @@
process.title = 'Giveaway Child';
const fs = require("fs");
const Discord = require("discord.js");
@ -25,12 +27,12 @@ client.giveawaysManager = new GiveawaysManager(client, {
lastChance: {
enabled: true,
content: "⚠️ **LAST CHANCE TO ENTER !** ⚠️",
threshold: 10000,
threshold: 5000,
embedColor: "#FF0000",
},
},
});
// We not have a client.giveaways property to manage our giveaways
// We now have a client.giveawaysManager property to manage our giveaways!
client.giveawaysManager.on(
"giveawayReactionAdded",
@ -77,7 +79,7 @@ fs.readdir("./commands/", (_err, files) => {
name: c.name,
description: c.description,
options: c.options,
type: Discord.ApplicationCommandType.ChatInput,
type: "CHAT_INPUT",
})),
{
debug: true,