Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@djs-modules/giveaways

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@djs-modules/giveaways

"@djs-modules/giveaways" is a module that allows you to create a system of pranks in your Discord bot.

  • 1.3.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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: "🎉",
  },
});

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

Keywords

FAQs

Package last updated on 25 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc