Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

CesiumLabs/discord-giveaways-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Easy to use dashboard for discord-giveaways.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published