1.3.2 • Published 2 years ago

@djs-modules/giveaways v1.3.2

Weekly downloads
-
License
Apache
Repository
github
Last release
2 years ago

Welcome

Welcome! This is "@djs-modules/giveaways" module! "@djs-modules/giveaways" is a module that allows you to create a giveaway system in your Discord bot.

Installation

Please note: NodeJS v16.6 or above required for this module!

$ npm i @djs-modules/giveaways

Features

🙂 Easy to use. 👍 Beginner friendly. 🔑 TypeScript Support. ⚙️ 100% Promise-based. Events (giveawayEnd, giveawayRerolled, notEnoughUsers). 🔁 Auto-Restart after reboot. 📝 Multi-Language Support.

Initialization

const { Client } = require("discord.js");
const { Manager } = require("@djs-modules/giveaways");

const client = new Client({
  intents: [
    "GUILDS",
    "GUILD_MESSAGES",
    "GUILD_MEMBERS",
    "GUILD_MESSAGE_REACTIONS",
  ],
});

const manager = new Manager(client, {
  dbPath: "./",
  defaultOptions: {
    winnersCount: 1,
    mentionEveryone: true,
    botsCanWin: false,
    startColor: "RANDOM",
    endColor: "GREEN",
    errorColor: "RED",
    reaction: "🎉",
  },
});

Links

Authors: djs-modules Discord Tags: WhyMe#1126 NodeJS: Click TypeScript: Click Support Server: Click Website: Click

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago