This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

discord.js-giveaway

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i discord.js-giveaway

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

8.05 kB

Total Files

3

Last publish

Collaborators

  • neoney