raphcosmo

1.2.3 • Public • Published

Raph Cosmo

A custom theme for discord-easy-dashboard

Installing

npm i discord-easy-dashboard raphcosmo

Usage

To get started using the discord-easy-dashboard package read the docs by clicking here

To get started using my custom theme into this package use the following code or learn more at the theming guide on the discord-easy-dashboard docs.

const { Client, Intents } = require('discord.js');
const Dashboard = require('discord-easy-dashboard');
const RaphCosmoTheme = require('raphcosmo')

const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });

client.dashboard = new Dashboard(client, {
    name: 'RaphXSimon',
    description: 'A cool bot with a custom dashboard',
    baseUrl: 'http://localhost',
    port: 80,
    noPortIncallbackUrl: false,
    secret: '12345-SECRET-12345',
    theme: RaphCosmoTheme
});

client.login('12345-TOKEN-12345')

Credits

Simon - Creator of discord-easy-dashboard - View his github here

Raphael - Creator of Raph Cosmo - View his github here

Package Sidebar

Install

npm i raphcosmo

Weekly Downloads

2

Version

1.2.3

License

ISC

Unpacked Size

87.4 kB

Total Files

10

Last publish

Collaborators

  • raph-dev