Skip to content

IBlazingX/discord.js-giveaway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

discord.js-giveaway

This package allows your bot to have a giveaways function easily.

NPM

Usage

const Discord = require("discord.js")
const client = new Discord.Client()
const Giveaway = require("discord.js-giveaway")

const giveaway = Giveaway(client, {})
//Giveaway has 2 variables: client and options

client.login(token)

Giveaway's options object

name optional description default value type
prefix yes This is the prefix your bot will react to. "!" string
startCmd yes This command starts a giveaway. "giveawaystart" string
giveawayRole yes ID of a role, that is permitted to start giveaways. * default: @everyone null string
embedColor yes Color of the giveaway's embed. "#7aefe0" string
reactEmote yes The emote that you have to react with. "✅" string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%