raphcosmo
v1.2.3
Published
A custom theme for the discord-easy-dashboard package.
Downloads
6
Maintainers
Readme
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