Skip to content

Aronshire/ManageAwards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManageAwards

Create your giveaways with this bot.

Installation

  • Clone github project.
  • Install dependencies with npm run install
  • Start with npm run start

Settings

First of all, you have to make your own settings in order to use the bot. (Like entering Mongodb and Discord tokens)

  • Follow the path ./src/config.js
  • Enter our Discord token and Mongodb Atlas url. (You can also use Local Mongodb)

Commands

Commands work with Discord's slash (/) command system.

Giveaway Start

Usage: /giveaway channel time winner-count prize

Example: /giveaway #awardchannel 10d 2 Discord Nitro

Time Concepts

  • 1s = 1 second
  • 1m = 1 minute
  • 1d = 1 day
  • 1y = 1 year

image image

Giveaway End

Usage: /end giveaway-id

Example: /end 6327984492

image

image

Giveaway Reroll

Usage: /reroll giveaway-id

Example: /reroll 6327984492

image

image

Edit Giveaway Messages

You can change the messages in the giveaway messages. For this, you can change the options.messages data in the ./src/commands/giveaway.js file.

Example:

messages: {
    giveaway: "🎉🎉 **GIVEAWAY** 🎉🎉",
    giveawayEnded: "🎉🎉 **GIVEAWAY ENDED** 🎉🎉",
    timeRemaining: "Time remaining: **{duration}**!",
    inviteToParticipate: "Click to Enter button for participate!",
    participants: "Entries: {participants}",
    winMessage: "Congratulations, {winners}! You won **{prize}**!",
    embedFooter: "Giveaways",
    noWinner: "Giveaway cancelled, no valid participations.",
    hostedBy: "Hosted by: {user}",
    winners: "winner(s): {winners}",
    endedAt: "Ended at",
}

Message Variables

You can edit the replaceMessage function in the ./src/giveaway/index.js file to add more variables to the giveaway messages.

About

Create your giveaways with this bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published