Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let me remove the winners thing. #48

Closed
TH3-UNKNOWN opened this issue Jul 2, 2020 · 3 comments
Closed

Let me remove the winners thing. #48

TH3-UNKNOWN opened this issue Jul 2, 2020 · 3 comments

Comments

@TH3-UNKNOWN
Copy link

image

    client.giveawaysManager.start(giveawayChannel, {
        // The giveaway duration
        time: ms(giveawayDuration),
        // The giveaway prize
        prize: giveawayPrize,
        // The giveaway winner count
        winnerCount: giveawayNumberWinners,
        // Who hosts this giveaway
        hostedBy: client.config.hostedBy ? message.author : null,
        // Messages
        messages: {
            giveaway: (client.config.everyoneMention ? "" : "")+"🎉 **Giveaway!** 🎉",
            giveawayEnded: (client.config.everyoneMention ? "" : "")+"🎉 **Giveaway Ended!** 🎉",
            timeRemaining: "🕐 Time remaining: **{duration}**!",
            inviteToParticipate: "React with 🎉 to participate!",
            winMessage: "Congratulations, {winners}! You won **{prize}**!",
            embedFooter: "Giveaways",
            noWinner: "Giveaway cancelled, no valid participations.",
            hostedBy: `👤 Hosted by: {user} \n🥇 Winners: ${winners}`, //dont freak out, we can always go back
            winners: "", 
            endedAt: "Ended at",
            units: {
                seconds: "seconds",
                minutes: "minutes",
                hours: "hours",
                days: "days",
                pluralS: false // Not needed, because units end with a S so it will automatically removed if the unit value is lower than 2
            }
        }
    });



}

i whant to get rid of the footer of 1
Help! THANKS!

@Androz2091
Copy link
Owner

Hello
This is possible, but you will have to edit the code of the discord-giveaways package.

@TH3-UNKNOWN
Copy link
Author

Hello
This is possible, but you will have to edit the code of the discord-giveaways package.

umn. how do I do this?

@Nico105
Copy link
Collaborator

Nico105 commented Jan 3, 2021

With the latest discord-giveaways version you can extend the GiveawayManager class and edit the generateMainEmbed function to customize it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants