discord-giveaways-dashboard

1.0.1 • Public • Published

discord-giveaways-dashboard

Easy to use dashboard for discord-giveaways.

Coming Soon

Quick Example

const Server = require("discord-giveaways-dashboard").Server;
const { GiveawaysManager } = require("discord-giveaways");
const client = new (require("discord.js")).Client();
client.giveaways = new GiveawaysManager(client, {
    storage: __dirname+"/database.json",
    updateCountdownEvery: 5000,
    default: {
        botsCanWin: false,
        exemptPermissions: [],
        embedColor: "#FF0000",
        embedColorEnd: "#7289DA",
        reaction: "🎉"
    }
});
 
const server = new Server(client.giveaways, {
    PORT: 3000
});
 
server.on("ready", () => {
    console.log(`Server started at PORT *${server.PORT}`);
});
 
server.createServer();
 
client.login("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");

Preview

img

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.12
1.0.00

Package Sidebar

Install

npm i discord-giveaways-dashboard

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

557 kB

Total Files

17

Last publish

Collaborators

  • snowflake7