1.0.2 • Published 5 years ago

discord.js-giveaway v1.0.2

Weekly downloads
16
License
ISC
Repository
github
Last release
5 years ago

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

nameoptionaldescriptiondefault valuetype
prefixyesThis is the prefix your bot will react to."!"string
startCmdyesThis command starts a giveaway."giveawaystart"string
giveawayRoleyesID of a role, that is permitted to start giveaways. * default: @everyonenullstring
embedColoryesColor of the giveaway's embed."#7aefe0"string
reactEmoteyesThe emote that you have to react with."✅"string
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago